1

When I run 'npm audit fix' it returns

npm WARN audit Unable to authenticate && npm ERR! audit endpoint returned an error

1

vimuth
  • 5,064
  • 33
  • 79
  • 116

1 Answers1

0

You may change the registry by running below

npm audit --registry=https://registry.npmjs.org

or add below to ~/.npmrc

registry=https://registry.npmjs.org
xiaojueguan
  • 870
  • 10
  • 19