How to solve the: "rollbackFailedOptional: verb npm-session xxxxxxxxxxxxxxxxxx"


node npm

I was installing new global package and my terminal was frozen:

MacBook-Pro ~ % npm i -g @angular-cli/latest
⸨░░░░░░░░░░░░░░░░░░⸩ ⠧ rollbackFailedOptional: verb npm-session 4212709477703b0

I ran this in the root directory:

 sudo rm -rf .npmrc 

and it fixed this error:

Fix of rollbackFailedOptional: verb npm-session

comments powered by Disqus