[] Vue vue project commissioning error VM20: 1 Uncaught SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>)

Vue finished a project, delete dist directory, ready webpack, the results that I need to install webpack-cli. After the installation is complete global webpack-cli, complete package, not run up the project. . .

I try to delete node-modules directory, re npm i look, debugging found that the project is still not up and running, and then found the console being given as follows

 

 

 Pointing error code as follows

 

 

 

Make good use of search engines that are JSON.parse time may already be inside the parameters like the json object you do not need to resolve parameter or not, some people removed the local localStorage data, and then I see your localStorage inside the car object becomes found [object Object], not a string, so analytical error

 

 

 Delete car problem finding rerun thousand million

 

Guess you like

Origin www.cnblogs.com/buerjiongjiong/p/12172433.html