`npm audit` keeps returning “Your configured registry (https://registry.npmjs.org/) does not support audit requests.”. How do I make it work again?

后端 未结 4 908
南笙
南笙 2020-12-16 11:59

Here is the error I get:

npm ERR! code ENOAUDIT
npm ERR! audit Your configured registry (https://registry.npmjs.org/) does not support audit requests.
         


        
4条回答
  •  -上瘾入骨i
    2020-12-16 12:11

    I found that the answer given at https://npm.community/t/your-configured-registry-https-registry-npmjs-org-does-not-support-audit-requests/3600/6 worked, where none of the above answers helped:

    delete your node_modules folder then try running npm install --> npm update --> npm audit

提交回复
热议问题