Aug 05, 2016 I am having the same issue. Just started development on angular 2 and was trying to install the web pack version of angular-cli but unable to install.
![]() ![]()
'A requires a peer of B but none was installed'. Consider it as 'Arequires one of B's peers but that peer was not installed and we'renot telling you which of B's peers you need.'
The automatic installation of peer dependencies was explicitly removed with npm 3.So you cannot install peer dependencies automatically with npm 3 and upwards.Updated Solution:Use following for each peer dependency to install that and remove the error npm install -save-dev xxxxxDeprecated Solution:.You can use to find and install required peer dependencies.npm install -g npm-install-peersnpm-install-peers.If you are getting this error after updating any package's version then remove nodemodules directory and reinstall packages by npm install or npm cache clean and npm install. Could you expound and give a generalized solution?
I have a similar issue and would like not to 'Ignore warnings', as recommended in comments above. What configuration is needed to not show this type of warning? Note: for my project is npm WARN [email protected] requires a peer of react@^16.0.0 but none is installed. And yes I do have the required peer installed. Is this is an issue with my project or an issue with the react-test-renderer project? Or do I need to find all peers and make their versions align somehow?–Nov 22 '17 at 15:33.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |