npm update check failed or Invalid or unexpected token

QuestionsCategory: Questionsnpm update check failed or Invalid or unexpected token
sam asked 9 months 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 │
└────────────────────────────────────────────────────────────┘
 

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Answers
Ajay Malhotra answered 9 months ago

went  to C:\Users.config and deleted the “configstore” folder. once I done this, next time a ran npm start, the folder was re-generated, and error stopped
 
This is the solution

sam replied 9 months ago

Good

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Your Answer

13 + 15 =

Positive SSL