npm audit returns 503 ENOAUDIT

Hello!
Last couple days I receiving ENOAUDIT error when trying to run npm audit command. Error occurring randomly, I got about 7 fails from 10 runs…

0 info it worked if it ends with ok
1 verbose cli [ ‘/Users/xxx/.nvm/versions/node/v11.8.0/bin/node’,
1 verbose cli ‘/Users/xxx/.nvm/versions/node/v11.8.0/bin/npm’,
1 verbose cli ‘audit’ ]
2 info using npm@6.5.0
3 info using node@v11.8.0
4 verbose npm-session ee2c2250e51c38fd
5 timing audit compress Completed in 13ms
6 info audit Submitting payload of 93536 bytes
7 http fetch POST 503 https://registry.npmjs.org/-/npm/v1/security/audits 14715ms
8 verbose stack Error: Your configured registry (https://registry.npmjs.org/) does not support audit requests.
8 verbose stack at Bluebird.all.spread.then.catch (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/lib/audit.js:172:18)
8 verbose stack at tryCatcher (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
8 verbose stack at Promise._settlePromiseFromHandler (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
8 verbose stack at Promise._settlePromise (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
8 verbose stack at Promise._settlePromise0 (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
8 verbose stack at Promise._settlePromises (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:690:18)
8 verbose stack at _drainQueueStep (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12)
8 verbose stack at _drainQueue (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
8 verbose stack at Async._drainQueues (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
8 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (/Users/xxx/.nvm/versions/node/v11.8.0/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
8 verbose stack at processImmediate (timers.js:632:19)
9 verbose cwd /Users/xxx/Documents/bazaarvoice/mc-api
10 verbose Darwin 18.5.0
11 verbose argv “/Users/xxx/.nvm/versions/node/v11.8.0/bin/node” “/Users/xxx/.nvm/versions/node/v11.8.0/bin/npm” “audit”
12 verbose node v11.8.0
13 verbose npm v6.5.0
14 error code ENOAUDIT
15 error audit Your configured registry (https://registry.npmjs.org/) does not support audit requests.
16 verbose exit [ 1, true ]

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.