Fix NPM warnings with Angular 7
See original GitHub issueI’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:
- Created 5 years ago
- Reactions:26
- Comments:17 (5 by maintainers)
Top GitHub Comments
Released 10.0.0 which should address this. Please let me know if you still see issues.
Hi, I am getting message
Package "@swimlane/ngx-charts" has a missing peer dependency of "d3" @ "^4.10.2"
Updating to 10.0.0