大神 救命!!!!T.T nodejs装phonegap 一直这样没成功。
phonegap吧
全部回复
仅看楼主
level 1
smallstrong__ 楼主
C:\Windows\system32>npm install -g phonegap
npm WARN deprecated [email protected]: module has been merged into crc3
2-stream
\
> [email protected] install C:\Users\Vison-\AppData\Roaming\npm\node_modules\phonegap\no
de_modules\connect-phonegap\node_modules\socket.io\node_modules\engine.io\node_m
odules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
\
> [email protected] install C:\Users\Vison-\AppData\Roaming\npm\node_modules\phonegap\no
de_modules\connect-phonegap\node_modules\socket.io\node_modules\socket.io-client
\node_modules\engine.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
npm ERR! [email protected] install: `(node-gyp rebuild 2> builderror.log) || (exit 0)`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the ws package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! (node-gyp rebuild 2> builderror.log) || (exit 0)
npm ERR! You can get their info via:
npm ERR! npm owner ls ws
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap"
npm ERR! cwd C:\Windows\system32
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! syscall spawn
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! not ok code 0
2014年11月30日 07点11分 1
level 1
smallstrong__ 楼主
一直都是这样的
2014年11月30日 07点11分 2
level 7
新手路过
2014年11月30日 13点11分 3
level 7
新手路过
2014年12月01日 05点12分 4
level 11
卸了node重装
2014年12月19日 02点12分 5
level 2
顶一个 我也是这样
2015年01月23日 05点01分 6
level 2
2015年01月23日 05点01分 7
level 2
2015年01月23日 05点01分 8
level 2
@smallstrong__ 该怎么解决
2015年01月23日 05点01分 9
level 10
不要方,我也是新手,今天刚装成功,还不会用
2015年03月26日 10点03分 10
level 8
切换为国内镜像,装 cordova 试试
2015年04月03日 04点04分 11
1