菜鸟求指导windows上用npm安装NW.js出错
node吧
全部回复
仅看楼主
level 2
IT心憔悴 楼主
C:\Users\Administrator>npm install -g [email protected]
C:\Users\Administrator\AppData\Roaming\npm\nw -> C:\Users\Administrator\AppData\
Roaming\npm\node_modules\nw\bin\nw
> [email protected] postinstall C:\Users\Administrator\AppData\Roaming\npm\node_modules\
nw
> node scripts/install.js
end of central directory record signature not found
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "[email protected]"
npm ERR! node v4.4.2
npm ERR! npm v2.15.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node scripts/install.js'.
npm ERR! This is most likely a problem with the nw package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nw
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls nw
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Administrator\npm-debug.log
2016年05月10日 03点05分 1
level 1
NW.js是什么
2016年05月21日 12点05分 5
以前是node-webkit,node的一个模板
2016年05月27日 01点05分
level 1
这里有教的
群号: 325397906 你也可以的腾讯课堂搜索 node 看谁教的好
2016年05月22日 01点05分 6
现在已安装成功
2016年05月27日 01点05分
@IT心憔悴 您好,遇到了同样的问题,请问你怎么解决的呢?
2016年10月17日 12点10分
level 7
路过
2016年05月29日 04点05分 7
level 2
准备楼梯,或者百度一下NPM指向淘宝镜像
2016年10月17日 12点10分 8
level 1
原来我挖个坟 楼主这个问题最后是怎么解决的能指导我一下吗 我现在装一个叫node-opcua的模块时也出现这个问题装不上
2018年08月03日 04点08分 9
1