我的版本是:
节点版本是v0.10.33
NPM版本是1.4.28
Cordova版本是5.0.0
安装Ionic时发生的错误:
**jce010:~ Tareqalmasri$ sudo npm install -g ionic**
Password:
/
> [email protected] install /usr/local/lib/node_modules/ionic/node_modules/gulp-sass/node_modules/node-sass
> node build.js
`darwin-x64-v8-3.14` exists; testing
․․․․․․․․․․․․․․․․․․․․․․․․․․
26 passing (51ms)
Binary is fine; exiting
[email protected] /usr/local/lib/node_modules/ionic
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
当我输入离子V,我得到
jce010:~ Tareqalmasri$ ionic -v
-bash: ionic: command not found
最佳答案
最后,我找到了解决办法:)。
解决方案是应用以下命令:
Sudo NPM更新-G Cordova Ionic
关于node.js - 我无法在Mac OS X 10.10.3上安装Ionic,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/30569641/