Npm问题安装Ionic

时间:2015-11-13 08:24:07

标签: npm ionic

我在使用NPM安装一个软件包时遇到问题。

以下是我在控制台中输入的内容以及结果:

MacBook:folder Uksz$ sudo npm install ionic -g
/usr/local/bin/ionic -> /usr/local/lib/node_modules/ionic/bin/ionic

> node-sass@3.4.1 install /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/node-sass
> node scripts/install.js

sh: node: command not found
npm WARN install:node-sass node-sass@3.4.1 install: `node scripts/install.js`
npm WARN install:node-sass spawn ENOENT

> spawn-sync@1.0.14 postinstall /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall

sh: node: command not found
npm WARN install:spawn-sync spawn-sync@1.0.14 postinstall: `node postinstall`
npm WARN install:spawn-sync spawn ENOENT
/usr/local/lib
`-- (empty)

npm ERR! code 1

我想知道你们是否对我如何解决这个问题有任何想法?

感谢
uksz

编辑:

My Node是v5.0.0,npm v3.3.6

0 个答案:

没有答案