Skip to content

Failed in "npm run test" #765

Closed
Closed
@gzx-miller

Description

@gzx-miller

14 verbose lifecycle node-addon-api@3.0.1test: CWD: D:\DCode\electron\node-addon-api
15 silly lifecycle node-addon-api@3.0.1
test: Args: [ '/d /s /c', 'node test' ]
16 silly lifecycle node-addon-api@3.0.1test: Returned: code: 9 signal: null
17 info lifecycle node-addon-api@3.0.1
test: Failed to exec test script
18 verbose stack Error: node-addon-api@3.0.1 test: node test
18 verbose stack Exit status 9
18 verbose stack at EventEmitter. (C:\Users\guozhenxing\AppData\Roaming\nvm\v8.17.0\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
18 verbose stack at emitTwo (events.js:126:13)
18 verbose stack at EventEmitter.emit (events.js:214:7)
18 verbose stack at ChildProcess. (C:\Users\guozhenxing\AppData\Roaming\nvm\v8.17.0\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
18 verbose stack at emitTwo (events.js:126:13)
18 verbose stack at ChildProcess.emit (events.js:214:7)
18 verbose stack at maybeClose (internal/child_process.js:915:16)
18 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
19 verbose pkgid node-addon-api@3.0.1
20 verbose cwd D:\DCode\electron\node-addon-api
21 verbose Windows_NT 10.0.18362
22 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "test"
23 verbose node v8.17.0
24 verbose npm v6.13.4
25 error code ELIFECYCLE
26 error errno 9
27 error node-addon-api@3.0.1 test: node test
27 error Exit status 9
28 error Failed at the node-addon-api@3.0.1 test script.
28 error This is probably not a problem with npm. There is likely additional logging output above.
29 verbose exit [ 9, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions