root@b5be31c4099a:/app# npm audit -verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'audit',
npm verb cli '-verbose' ]
npm info using npm@6.14.5
npm info using node@v10.9.0
npm verb npm-session 6dcec0c013ba901c
npm http fetch POST 503 https://registry.npmjs.org/-/npm/v1/security/audits 13275ms
npm verb stack Error: Your configured registry (https://registry.npmjs.org/) may not support audit requests, or the audit endpoint may be temporarily unavailable.
npm verb stack at Bluebird.all.spread.then.catch (/usr/local/lib/node_modules/npm/lib/audit.js:204:18)
npm verb stack at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
npm verb stack at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31)
npm verb stack at Promise._settlePromise (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)
npm verb stack at Promise._settlePromise0 (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
npm verb stack at Promise._settlePromises (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:695:18)
npm verb stack at _drainQueueStep (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12)
npm verb stack at _drainQueue (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
npm verb stack at Async._drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
npm verb stack at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
npm verb stack at runCallback (timers.js:693:18)
npm verb stack at tryOnImmediate (timers.js:664:5)
npm verb stack at processImmediate (timers.js:646:5)
npm verb cwd /app
npm verb Linux 4.19.76-linuxkit
npm verb argv "/usr/local/bin/node" "/usr/local/bin/npm" "audit" "-verbose"
npm verb node v10.9.0
npm verb npm v6.14.5
npm ERR! code ENOAUDIT
npm ERR! audit Your configured registry (https://registry.npmjs.org/) may not support audit requests, or the audit endpoint may be temporarily unavailable.
npm verb exit [ 1, true ]
npm timing npm Completed in 14538ms
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-06-02T10_28_58_575Z-debug.log
audited 3417 packages in 64.512s
11 packages are looking for funding
run `npm fund` for details
found 262293 vulnerabilities (262106 low, 179 moderate, 8 high)
run `npm audit fix` to fix them, or `npm audit` for details
What / Why
I'm getting a ENOAUDIT error code whenever I run
npm auditalong with the 503 status onhttps://registry.npmjs.org/-/npm/v1/security/audits.When
npm auditon a specific project.Where
How
Current Behavior
npm install):npm auditin another project (with a more simple dependency tree, there is no 503 error). Is there too many dependencies that the npm audit cannot handle?Steps to Reproduce
Have these specific
package.json&package-lock.jsonfiles:Run
npm audit(in my case, they are ran inside a Docker container but it's reproductible without)Expected Behavior
References