error nw@0.41.2 postinstall: `node scripts/install.js`
KennyLeung opened this issue · 0 comments
Environment:
Windows 10x64
node v10.16.0
npm version
{ 'nw.js-example': '1.0.0',
npm: '6.9.0',
ares: '1.15.0',
brotli: '1.0.7',
cldr: '35.1',
http_parser: '2.8.0',
icu: '64.2',
modules: '64',
napi: '4',
nghttp2: '1.34.0',
node: '10.16.0',
openssl: '1.1.1b',
tz: '2019a',
unicode: '12.1',
uv: '1.28.0',
v8: '6.8.275.32-node.52',
zlib: '1.2.11' }
package.json
{
"name": "nw.js-example",
"version": "1.0.0",
"devDependencies": {
"nw": "^0.41.2",
"nw-builder": "^3.5.7"
}
}
debug.log
8040 warn nw.js-example@1.0.0 No description
8041 warn nw.js-example@1.0.0 No repository field.
8042 warn nw.js-example@1.0.0 No license field.
8043 verbose stack Error: nw@0.41.2 postinstall:node scripts/install.js
8043 verbose stack Exit status 1
8043 verbose stack at EventEmitter. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
8043 verbose stack at EventEmitter.emit (events.js:198:13)
8043 verbose stack at ChildProcess. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
8043 verbose stack at ChildProcess.emit (events.js:198:13)
8043 verbose stack at maybeClose (internal/child_process.js:982:16)
8043 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
8044 verbose pkgid nw@0.41.2
8045 verbose cwd D:\nwjsapps\demo
8046 verbose Windows_NT 10.0.18362
8047 verbose argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
8048 verbose node v10.16.0
8049 verbose npm v6.9.0
8050 error code ELIFECYCLE
8051 error errno 1
8052 error nw@0.41.2 postinstall:node scripts/install.js
8052 error Exit status 1
8053 error Failed at the nw@0.41.2 postinstall script.
8053 error This is probably not a problem with npm. There is likely additional logging output above.
8054 verbose exit [ 1, true ]