question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix NPM warnings with Angular 7

See original GitHub issue

I’m submitting a … (check one with “x”)

  • bug report - search github for a similar issue or PR before submitting
  • feature request
  • support request - use StackOverflow (add the ngx-charts tag) or the gitter chat for support questions

Current behavior After upgrading to Angular 7.0.0 and running NPM install, I see npm WARN @swimlane/ngx-charts@9.0.0 requires a peer of @angular/cdk@6.x but none is installed. You must install peer dependencies yourself. npm WARN @swimlane/ngx-charts@9.0.0 requires a peer of @angular/common@6.x but none is installed. You must install peer dependencies yourself. npm WARN @swimlane/ngx-charts@9.0.0 requires a peer of @angular/core@6.x but none is installed. You must install peer dependencies yourself. npm WARN @swimlane/ngx-charts@9.0.0 requires a peer of @angular/animations@6.x but none is installed. You must install peer dependencies yourself. npm WARN @swimlane/ngx-charts@9.0.0 requires a peer of @angular/platform-browser@6.x but none is installed. You must install peer dependencies yourself.

Expected behavior There should be no warnings.

Reproduction of the problem

  • ngx-charts version: 9.0.0
  • Angular version: 7.0.0
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [TypeScript 3.1.1]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:26
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
marjan-georgievcommented, Oct 30, 2018

Released 10.0.0 which should address this. Please let me know if you still see issues.

2reactions
kuadrosxcommented, Nov 1, 2018

Hi, I am getting message Package "@swimlane/ngx-charts" has a missing peer dependency of "d3" @ "^4.10.2" Updating to 10.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix NPM warning for Angular 7 support · Issue #90 - GitHub
After upgrading to Angular 7.0.0, running npm install yields npm WARN ngx-logger@3.3.3 requires a peer of @angular/common@^6.0.0 but none is ...
Read more >
Npm install gives warnings, npm audit fix not working
Delete your node_modules folder. Try npm install again. This used to fix several issues when adding new packages in my angular apps.
Read more >
Unable to resolve dependency tree error in Angular while ...
When using npm 7, Unable to resolve dependency tree errors comes up a lot because peer dependencies issues are treated as errors in...
Read more >
npm-audit
The audit command submits a description of the dependencies configured in your project to your default registry and asks for a report of...
Read more >
ts-node - npm
Warning : An ignored file can still be executed by node.js. Ignoring a file means we do not transform it from TypeScript into...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found