我想尝试一下Node + Angular。我正在尝试关注this教程。
在运行以下命令时,我遇到了很多错误。
meteor npm install --save angular2-meteor @angular/platform-browser-dynamic
我收到了很多警告,但在博文中提到我可能会收到错误,但它们并不重要,但我也遇到了很多错误。
警告是:
npm WARN peerDependencies The peer dependency @angular/core@2.0.0-rc.2 included from @angular/platform-browser-dynamic 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/common@2.0.0-rc.2 included from @angular/platform-browser-dynamic 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/compiler@2.0.0-rc.2 included from @angular/platform-browser-dynamic 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 15.3.0
npm ERR! argv "node" "/Users/vimarshchaturvedi/.meteor/packages/meteor-tool/.1.3.3_1.rkx5ga++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm" "install" "--save" "angular2-meteor" "@angular/platform-browser-dynamic"
npm ERR! node v0.10.45
npm ERR! npm v2.15.1
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package @angular/core@2.0.0-rc.2 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/compiler@2.0.0-rc.2 wants @angular/core@2.0.0-rc.2
npm ERR! peerinvalid Peer @angular/common@2.0.0-rc.2 wants @angular/core@2.0.0-rc.2
npm ERR! peerinvalid Peer @angular/platform-browser-dynamic@2.0.0-rc.2 wants @angular/core@2.0.0-rc.2
npm ERR! peerinvalid Peer @angular/platform-browser@2.0.0-rc.2 wants @angular/core@2.0.0-rc.2
npm ERR! peerinvalid Peer angular2-meteor@0.5.5 wants @angular/core@2.0.0-rc.1
npm ERR! Please include the following file with any support request:
npm ERR! ./npm-debug.log
我不知道现在该怎么办。 此外,我不清楚我是否可以使用Meteor在Meteor中使用NPM。