Skip to content

Instantly share code, notes, and snippets.

@aviggiano
Created April 25, 2018 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviggiano/5f02fdec8b7325969339c746e19c2b92 to your computer and use it in GitHub Desktop.
Save aviggiano/5f02fdec8b7325969339c746e19c2b92 to your computer and use it in GitHub Desktop.
npm audit bug (npm@6)
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'audit' ]
2 info using npm@6.0.0
3 info using node@v10.0.0
4 timing audit compress Completed in 7ms
5 info audit Submitting payload of 41274 bytes
6 http fetch POST 401 https://registry.npmjs.org/-/npm/v1/security/audits 1142ms
7 verbose stack Error: Your configured registry (https://registry.npmjs.org/) does not support audit requests.
7 verbose stack at Bluebird.all.spread.then.catch.err (/usr/local/lib/node_modules/npm/lib/audit.js:74:18)
7 verbose stack at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
7 verbose stack at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
7 verbose stack at Promise._settlePromise (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
7 verbose stack at Promise._settlePromise0 (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
7 verbose stack at Promise._settlePromises (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:689:18)
7 verbose stack at Async._drainQueue (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16)
7 verbose stack at Async._drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10)
7 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
7 verbose stack at runCallback (timers.js:696:18)
7 verbose stack at tryOnImmediate (timers.js:667:5)
7 verbose stack at processImmediate (timers.js:649:5)
8 verbose cwd /home/antonio/development/aviggiano/CoinMarketApp
9 verbose Linux 4.13.0-39-generic
10 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "audit"
11 verbose node v10.0.0
12 verbose npm v6.0.0
13 error code ENOAUDIT
14 error audit Your configured registry (https://registry.npmjs.org/) does not support audit requests.
15 verbose exit [ 1, true ]
@ahait
Copy link

ahait commented Mar 5, 2019

did you ever fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment