安装nodeclub时报错,求大神解惑
通过命令make install安装时,一直报如下错误:
➜ nodeclub git:(master) sudo make install
Password:
npm ERR! registry error parsing json
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x || 0.11.x || 1.0.x"} (current: {"node":"0.12.2","npm":"2.7.4"})
> [email protected] install /Users/panxiao/work/github/nodeclub/node_modules/bcrypt
> node-gyp rebuild
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EPERM, utime '/Users/panxiao/.node-gyp/0.12.2'
gyp ERR! stack at Error (native)
gyp ERR! System Darwin 14.1.1
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/panxiao/work/github/nodeclub/node_modules/bcrypt
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
是我的node版本不对吗?还是别的什么原因
4 回复