Sunday, September 20, 2020
therichposts@gmail.com

npm update check failed or Invalid or unexpected token

QuestionsCategory: Questionsnpm update check failed or Invalid or unexpected token
sam asked 2 years ago

I am getting below error during working into angular 7 project:

  npm update check failed  or Invalid or unexpected token
 
┌────────────────────────────────────────────────────────────┐
│                  npm update check failed                   │
│            Try running with sudo or get access             │
│            to the local update config store via            │
│ sudo chown -R $USER:$(id -gn $USER) C:\Users\win-8\.config │
└────────────────────────────────────────────────────────────┘