I have 1 dependency in a form of "protobufjs": "git+https://github.com/danieldanielecki/protobufjs-angularfire.git#master"
, i.e. installed using npm install --save https://github.com/danieldanielecki/protobufjs-angularfire#master
. Is there any way to include this in npm audit
? Whenever I'm trying to audit the package, which I need to fetch that way my npm audit
fails with the following error:
$ npm audit
npm ERR! code ENOAUDIT
npm ERR! audit Your configured registry (https://registry.npmjs.org/) does not support audit requests, or the audit endpoint is temporarily unavailable.
This is really annoying in terms of CI, because my pipeline fails then.
This question is unrealted with `npm audit` keeps returning "Your configured registry (https://registry.npmjs.org/) does not support audit requests.". How do I make it work again?, didn't find answer there (or anywhere else).
Thanks to @broofa for a quick test and a fresh idea, solution:
rm -rf node_modules
npm install
npm install https://github.com/danieldanielecki/protobufjs-angularfire#master
npm audit
works again!There was some problem with incompatibility or something in node_modules
, I did also delete npm-shrinkwrap.json
and generated a new one.