在其他计算机上设置现有Ionic 2项目时出错

时间:2017-06-07 07:57:27

标签: ionic-framework ionic-native

我在其他计算机上'npm install'时收到错误。

npm ERR!节点v6.10.3 错误的ERR! npm v2.7.3 错误的ERR!代码EPEERINVALID

npm ERR! peerinvalid包@ ionic-native / core不满足其兄弟姐妹的peerDependencies要求! 错误的ERR! peerinvalid Peer @ ionic-native / deeplinks @ 3.12.1想要@ ionic-native / core @ ^ 3.6.0 错误的ERR! peerinvalid Peer @ ionic-native / device @ 3.12.1想要@ ionic-native / core @ ^ 3.6.0 错误的ERR! peerinvalid Peer @ ionic-native / media @ 3.12.1想要@ ionic-native / core @ ^ 3.6.0 错误的ERR! peerinvalid Peer @ ionic-native / music-controls @ 3.4.4想要@ ionic-native / core @ ^ 3.1.0 错误的ERR! peerinvalid Peer @ ionic-native / social-sharing @ 3.12.1想要@ ionic-native / core @ ^ 3.6.0 错误的ERR! peerinvalid Peer @ ionic-native / splash-screen @ 3.1.0想要@ ionic-native / core @ 3.1.0 错误的ERR! peerinvalid Peer @ ionic-native / status-bar @ 3.1.0想要@ ionic-native / core @ 3.1.0

请帮忙。

1 个答案:

答案 0 :(得分:0)

您应该更新最新的节点版本,然后重试。

请在下面的机器上查看

node -v

ionic -v

cordova -v