I think NPM is struggling with security a bit today, when I run npm install
on a local project, I get:
'npm WARN notice Due to a recent security incident, all user tokens have been invalidated. Please see https://status.npmjs.org/incidents/dn7c1fgrr7ng for more details. To generate a new token, visit https://www.npmjs.com/settings/~/tokens or run "npm login"
I signed in again with npm login
, but I get the same error. Does anyone know of a workaround?
After performing
npm login
try to reopen CLI you are using in order to run npm commands. It worked for me