如题,已经用cnpm进行下载,错误如下:
5897 verbose stack Error: electron@1.7.9 postinstall: `node install.js`
5897 verbose stack Exit status 1
5897 verbose stack at EventEmitter.<anonymous> (D:\SDK\node.js\node_modules\npm\node_modules\npm-lifecycle\index.js:280:16)
5897 verbose stack at emitTwo (events.js:126:13)
5897 verbose stack at EventEmitter.emit (events.js:214:7)
5897 verbose stack at ChildProcess.<anonymous> (D:\SDK\node.js\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
5897 verbose stack at emitTwo (events.js:126:13)
5897 verbose stack at ChildProcess.emit (events.js:214:7)
5897 verbose stack at maybeClose (internal/child_process.js:925:16)
5897 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
5898 verbose pkgid electron@1.7.9
5899 verbose cwd C:\Users\huangzengming
5900 verbose Windows_NT 6.1.7601
5901 verbose argv "D:\\SDK\\node.js\\node.exe" "D:\\SDK\\node.js\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "layacmd" "--registry=https://registry.npm.taobao.org"
5902 verbose node v8.9.2
5903 verbose npm v5.5.1
5904 error code ELIFECYCLE
5905 error errno 1
5906 error electron@1.7.9 postinstall: `node install.js`
5906 error Exit status 1
5907 error Failed at the electron@1.7.9 postinstall script.
5907 error This is probably not a problem with npm. There is likely additional logging output above.
5908 verbose exit [ 1, true ]
附件:
2017-12-06T10_02_53_392Z-debug.zip