Created
May 17, 2018 13:49
-
-
Save ShadSterling/4543cd94d2ea458d8b3e8173f517e493 to your computer and use it in GitHub Desktop.
`npm audit` fails on a package with a single dependency on NPM 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ '/opt/local/bin/node', '/opt/local/bin/npm', 'run', 'audit' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'preaudit', 'audit', 'postaudit' ] | |
5 info lifecycle [email protected]~preaudit: [email protected] | |
6 info lifecycle [email protected]~audit: [email protected] | |
7 verbose lifecycle [email protected]~audit: unsafe-perm in lifecycle true | |
8 verbose lifecycle [email protected]~audit: PATH: /opt/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/ssterling3/Documents/2018/IIT/Repos/npm-issue/node_modules/.bin:/Users/ssterling3/bin/mac:/Users/ssterling3/bin:/opt/local/bin:/opt/local/sbin:/opt/local/libexec/gnubin/:/Users/ssterling3/.npm-global/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/usr/local/munki:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/ssterling3/bin/mac:/Users/ssterling3/bin:/opt/local/bin:/opt/local/sbin:/opt/local/libexec/gnubin/:/Users/ssterling3/.npm-global/bin | |
9 verbose lifecycle [email protected]~audit: CWD: /Users/ssterling3/Documents/2018/IIT/Repos/npm-issue | |
10 silly lifecycle [email protected]~audit: Args: [ '-c', 'npm audit' ] | |
11 silly lifecycle [email protected]~audit: Returned: code: 1 signal: null | |
12 info lifecycle [email protected]~audit: Failed to exec audit script | |
13 verbose stack Error: [email protected] audit: `npm audit` | |
13 verbose stack Exit status 1 | |
13 verbose stack at EventEmitter.<anonymous> (/opt/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:283:16) | |
13 verbose stack at emitTwo (events.js:126:13) | |
13 verbose stack at EventEmitter.emit (events.js:214:7) | |
13 verbose stack at ChildProcess.<anonymous> (/opt/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) | |
13 verbose stack at emitTwo (events.js:126:13) | |
13 verbose stack at ChildProcess.emit (events.js:214:7) | |
13 verbose stack at maybeClose (internal/child_process.js:925:16) | |
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) | |
14 verbose pkgid [email protected] | |
15 verbose cwd /Users/ssterling3/Documents/2018/IIT/Repos/npm-issue | |
16 verbose Darwin 17.5.0 | |
17 verbose argv "/opt/local/bin/node" "/opt/local/bin/npm" "run" "audit" | |
18 verbose node v8.11.2 | |
19 verbose npm v5.8.0 | |
20 error code ELIFECYCLE | |
21 error errno 1 | |
22 error [email protected] audit: `npm audit` | |
22 error Exit status 1 | |
23 error Failed at the [email protected] audit script. | |
23 error This is probably not a problem with npm. There is likely additional logging output above. | |
24 verbose exit [ 1, true ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment