unexpected end of json while parsing near '...rowser-dynami","vers'
I have just created an angular ver11 project, but when I run the command
npm install, I got an error unexpected end of json while parsing near '...rowser-dynami","vers'.
Can anyone help me fix it?
Thank many for any solution.
I got the same error as you, after reading the log and trying various methods I finally managed to fix it
1. Open the terminal and run
npm cache clean --force
2. An then run this command
npm install -g @angular/cliHuyền Trần thị Jan 02 2021