1
我正嘗試將當前離子版本2.0.0-beta.32
更新爲最新版本。離子2更新問題
1)I runned的命令:sudo npm install -g ionic
2)I runned的命令:npm outdated
Package Current Wanted Latest Location
@angular/common 2.0.0-rc.4 2.0.0-rc.4 2.4.8 @angular/common
@angular/compiler 2.0.0-rc.4 2.0.0-rc.4 2.4.8 @angular/compiler
@angular/core 2.0.0-rc.4 2.0.0-rc.4 2.4.8 @angular/core
@angular/forms 0.2.0 0.2.0 2.4.8 @angular/forms
@angular/http 2.0.0-rc.4 2.0.0-rc.4 2.4.8 @angular/http
@angular/platform-browser 2.0.0-rc.4 2.0.0-rc.4 2.4.8 @angular/platform-browser
@angular/platform-browser-dynamic 2.0.0-rc.4 2.0.0-rc.4 2.4.8 @angular/platform-browser-dynamic
angular2-jwt 0.1.17 0.1.17 0.1.28 angular2-jwt
del 2.2.0 2.2.0 2.2.2 del
es6-shim 0.35.0 0.35.0 0.35.3 es6-shim
gulp-watch 4.3.5 4.3.5 4.3.11 gulp-watch
ionic-angular 2.0.0-beta.10 2.0.0-beta.10 2.0.1 ionic-angular
ionic-native 1.3.2 1.3.2 2.5.1 ionic-native
reflect-metadata 0.1.3 0.1.3 0.1.10 reflect-metadata
run-sequence 1.1.5 1.1.5 1.2.2 run-sequence
rxjs 5.0.0-beta.6 5.0.0-beta.6 5.2.0 rxjs
zone.js 0.6.26 0.6.26 0.7.7 zone.js
3)然後我拼命地跑命令:sudo npm install [email protected]
。在這裏,我得到了這個錯誤:
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "[email protected]"
npm ERR! node v4.2.0
npm ERR! npm v2.14.7
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]^2.0.0-rc.4
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]^2.0.0-rc.4
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]^2.0.0-rc.4
npm ERR! peerinvalid Peer [email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! Please include the following file with any support request:
npm ERR! /Users/macbookpro/Desktop/ThePennyInc/penny-mobile-app/npm-debug.log
請任何幫助!
沒有beta-32。從'npm outdated'命令看起來像beta-10 –