meteor npm install --save angular2-meteor ERROR
Hi,
When running this command to a new project here is what happens :
meteor npm install --save angular2-meteor
npm WARN peerDependencies The peer dependency [email protected] included from angular2-meteor 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 ERR! Darwin 14.5.0
npm ERR! argv "node" "/Users/Thoms/.meteor/packages/meteor-tool/.1.3.2_4.o7udns++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm" "install" "--save" "angular2-meteor"
npm ERR! node v0.10.43
npm ERR! npm v2.14.22
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Thoms/Desktop/dev/bugs/bugRouter/npm-debug.log
+1 Same here, mine is on Windows.
Hi @ThomsCass ,
Can you try to set the following dependencies in your package.json?
"angular2": "^2.0.0-beta.16",
"es6-shim": "^0.35.0",
"zone.js": "^0.6.10",
"rxjs": "5.0.0-beta.2",
"reflect-metadata": "0.1.2"
This seems to happen because angular2-beta17 wants rxjs-beta6, but angular2-meteor wants rxjs-beta2.
I'm having a different error for the same command now, seems to be some confusion in the package.json or something:
npm http 404 https://registry.npmjs.org/angular/core/2.0.0-rc.1
npm ERR! 404 'angular' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 3.4.0+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular2-meteor" "--save"
npm ERR! cwd /root/devel/testapp
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/devel/testapp/npm-debug.log
npm ERR! not ok code 0
And angular on the npmjs is indeed AngularJS v 1.x, not Angular 2.
Could it be that the Angular team screwed up on renaming their Angular2 repo to angular but not updating npmjs?
Note: this could be due to my old npm version. I'm doing all this on Windows10/Bash setup, so it may not apply to all systems.
I ran this command again this morning under Ubuntu and it works fine, without errors
outdated, pls try 0.5.5
@MilosStanic how did you resolve your issue on windows.. i am having the same problem
@rollymaduk I didn't. It's a known issue in Windows Bash. We have to wait for the next release.