Angular 6 & peerDependencies
See original GitHub issueHi,
I’m already using Angular 6 and when installing ng2-google-charts via npm I get the following warnings:
npm WARN ng2-google-charts@3.4.0 requires a peer of @angular/common@^5.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng2-google-charts@3.4.0 requires a peer of @angular/compiler@^5.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng2-google-charts@3.4.0 requires a peer of @angular/core@^5.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng2-google-charts@3.4.0 requires a peer of rxjs@^5.5.6 but none is installed. You must install peer dependencies yourself.
npm WARN ng2-google-charts@3.4.0 requires a peer of typescript@~2.5.3 but none is installed. You must install peer dependencies yourself.
Are these really necessary and used by ng2-google-charts? Can I ignore them and even better can they be removed from the package.json so the warnings no longer popup?
I’ve been testing the charts a little bit and I get no errors.
Regards,
Jochen
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:8 (2 by maintainers)
Top Results From Across the Web
npm - When upgrading Angular 5 to 6, I get incompatible peer ...
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=2.7.2 <2.8", would install "2.6.2") ...
Read more >npm Peer Dependencies - JavaScript inDepth
Peer Dependencies are used to specify that our package is compatible with a specific version of an npm package. Good examples are Angular...
Read more >Workspace npm dependencies - Angular
The packages listed in the devDependencies section of package.json help you develop the application on your local machine. You don't deploy them with...
Read more >Incompatible peer dependencies - Angular 6 for ... - O'Reilly
I will go through some of incompatible peer dependency errors that I received during my upgrade process and the different strategies to resolve...
Read more >Update peer dependencies to enable angular 14 #404 - GitHub
Angular complains about fullcalendar dependencies when upgrading to Angular 14. However, when using the --force attribute everything still works fine. This is ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Any updates on this? Is there a plan to update to Angular 6?
Me too: I could not update Angular using ng update because of these dependencies. Yet, I succeeded to update by uninstalling this package, updating, and reinstalling. Once reinstalled, I ignored the warnings and it seems to work fine.