I am going to fix vulnerabilities by run the command
npm audit fix but meet an error:
npm ERR! Unexpected end of JSON input while parsing near '...g/backbone/-/backbone'
It's was so frustrated because I have no idea how to solve the problem. The only way for me is to google it.
Then I found a feasible solution:
npm cache clean --force
After cleaning the npm's cache, everything goes well. The nice day comes back 😄