npm audit not working - "ERR! code EINVALIDTAGNAME"

(Noditor) #1

npm audit not working - “ERR! code EINVALIDTAGNAME”

After installing a module, e.g. “npm -i install request --save” I get the following message.

found XXX vulnerabilities (XXX low, X moderate, X high)
run ‘npm audit fix’ to fix them, or ‘npm audit’ for details

Both “npm audit” and “npm audit fix” return the same error response:

npm ERR! Invalid tag name “[object Object]”: Tags may not have any characters that encodeURIComponent encodes.

Any ideas?

npm audit passes code EINVALIDTAGNAME from node 8.9.4?
(system) #2

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