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

Try running npm update and then npm audit. This should fix the problem.


You could have it when in your package.json you have something like "PACKAGE_NAME": "github:USERNAME/PACAKGE_NAME", or any other different pattern rather than the typical one, i.e. "PACKAGE_NAME": "PACKAGE_VERSION".


First

npm install -g npm

then

npm audit

may solve your problem