-
Notifications
You must be signed in to change notification settings - Fork 12k
npm peer invalid after ng new && npm shrinkwrap #2353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Facing the same problem:
Create a new ng2 app:
Install an additional package, e.g. express:
|
Fixed by #2387 |
i got an npm script like this: this will delete all devDependencies, do shrinkwrap, then reinstall all devDependencies. This way shrinkwrap wont break on a devDependency note, if u name the npm script shrinkwrap it will do an infinite loop :P |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS X El Apitan
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:do on your code? etc.
ng new demo
then attempt to e.g. shrinkwrap your project vianpm shrinkwrap
more information.
Angular-CLI could update the default angular version used to 2.0.1 (haven't found a corresponding issue yet)
The text was updated successfully, but these errors were encountered: