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


node npm

Hello! If you are from Ukraine, Belarus, Poland or India and looking for a job in Software Development, please reach me out by email.

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