Skip to content
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

npm install failing #20

Open
georgeneil opened this issue Oct 15, 2016 · 5 comments
Open

npm install failing #20

georgeneil opened this issue Oct 15, 2016 · 5 comments

Comments

@georgeneil
Copy link

npm install

is failing with the following output

>npm install                                                                                                                                                    
npm WARN peerDependencies The peer dependency @angular/[email protected] included from @angular/compiler-cli will no                                                                          
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency                                                                                                  
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.                                                                                                
npm WARN peerDependencies The peer dependency @angular/[email protected] included from @angular/compiler-cli will no                                                                   
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency                                                                                                  
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.                                                                                                
npm WARN peerDependencies The peer dependency @angular/[email protected] included from @angular/compiler-cli will no                                                                              
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency                                                                                                  
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.                                                                                                
npm WARN optional dep failed, continuing [email protected]                                                                                                                                   
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue                                                                                
npm ERR! Windows_NT 6.3.9600                                                                                                                                                               
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"                                                              
npm ERR! node v4.2.4                                                                                                                                                                       
npm ERR! npm  v2.14.12                                                                                                                                                                     
npm ERR! code EPEERINVALID                                                                                                                                                                 

npm ERR! peerinvalid The package @angular/[email protected] does not satisfy its siblings' peerDependencies requirements!                                                                     
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]                                                                                            
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]                                                                                                     
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected] 
@BCusack
Copy link

BCusack commented Oct 16, 2016

Make sure node is up to date. Update dependencies in package.json. npm install typings, then npm install

@georgeneil
Copy link
Author

My node is latest and

npm install typings

gives me following error

$ npm install typings
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "typings"
npm ERR! node v4.2.4
npm ERR! npm  v2.14.12
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package @angular/[email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]

@skynode
Copy link

skynode commented Oct 29, 2016

My node is latest

The latest version of node is here

Besides that though, you're obviously mismatching angular 2 modules, their versions and their dependencies!

@Neur0mante
Copy link

Just change the compiler-cli in the dev dependencies inside the package.json to something like:
"@angular/compiler-cli": "^2.1.0",

Also for some reason it wasnt happy until I made an asset folder in src with an empty .gitkeep file in it.
Now it works, at least in JiT, for me.

@Neur0mante
Copy link

I just noticed #22 , the new dependencies should fix the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants