npm error
Closed this issue · 9 comments
C:\temp\Angular2_Dashboard\Angular2_Dashboard\src>npm install
npm WARN package.json Angular2_Dashboard@1.0.0 No repository field.
npm WARN package.json Angular2_Dashboard@1.0.0 No README data
npm WARN package.json Dependency 'typings' exists in both dependencies and devDe
pendencies, using 'typings@^1.3.2' from dependencies
Angular2_Dashboard@1.0.0 postinstall C:\temp\Angular2_Dashboard\Angular2_Dashb
oard\src
typings install
└── (No dependencies)
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x8
6)\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package @angular/forms@0.2.0 does not satisfy its sibli
ngs' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular2-material/checkbox@2.0.0-alpha.6 wants @angul
ar/forms@^0.1.0
npm ERR! peerinvalid Peer @angular2-material/input@2.0.0-alpha.6 wants @angular/
forms@^0.1.0
npm ERR! peerinvalid Peer @angular2-material/slide-toggle@2.0.0-alpha.6 wants @A
ngular/forms@^0.1.0
npm ERR! Please include the following file with any support request:
npm ERR! C:\temp\Angular2_Dashboard\Angular2_Dashboard\src\npm-debug.log
C:\temp\Angular2_Dashboard\Angular2_Dashboard\src>
Hi @jadav1982 ! You should update to node and npm then, retry. Tell me then if it works.
Hi @clamarque, I have used NPM 2.15.8 and NODE v4.4.7
hi @jadav1982 ! I know but the latest version npm is 3.10.5 and node 6.3.1. Update them and retry.
Hi @clamarque , now able to build it but getting below error when project going to run
Failed to load resource: the server responded with a status of 404 (Not Found)
zone.js:461 Unhandled Promise rejection: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/symbol-observable
Error: XHR error (404 Not Found) loading http://localhost:3000/symbol-observable
at XMLHttpRequest.wrapFn as _onreadystatechange
at ZoneDelegate.invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:356:38)
at Zone.runTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:256:48)
at XMLHttpRequest.ZoneTask.invoke (http://localhost:3000/node_modules/zone.js/dist/zone.js:423:34)
Error loading http://localhost:3000/symbol-observable as "symbol-observable" from http://localhost:3000/node_modules/rxjs/Observable.js ; Zone: ; Task: Promise.then ; Value: Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/symbol-observable(…)consoleError @ zone.js:461
zone.js:463 Error: Uncaught (in promise): Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/symbol-observable(…)consoleError @ zone.js:463
http://localhost:3000/symbol-observable Failed to load resource: the server responded with a status of 404 (Not Found)
@jadav1982 well. you need just install rxjs:npm install -g rxjs@5.0.0-beta.6
@clamarque , still getting same error.
@jadav1982 copy paste the information about npm install
here
@clamarque , Sorry not getting you.
@jadav1982 check this: #8312