Próbuję zainstalować moduł @ ngrx/store w mojej aplikacji kątowej 2. Używam npm zainstalować i otrzymuję następujący błąd:Pakiet [email protected] nie spełnia wymagań peerDependencies swojego rodzeństwa?
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/[email protected] wants [email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer @ngrx/[email protected] wants [email protected]
Czy to znaczy, że muszę zaktualizować moduł angular2 ponieważ potrzebuje mniejszą wersję [email protected]?
Pierwsza aktualizacja npm: npm zainstalować npm -g Następnie, będzie działać bez problemów. –