Unexpected end of JSON input while parsing near错误

Pay attention to the problem of mpvue. The
Insert picture description here
solution. The
first step is to execute

npm install --registry=https://registry.npm.taobao.org 

Second step

npm cache clean --force

If you run the project afterwards

Command start unrecognized. Make sure that you have run npm install and that you are inside a react-native project.

Please execute

yarn add react-native-cli

The solution comes from https://blog.csdn.net/CrackgmKey/article/details/88972834

Guess you like

Origin blog.csdn.net/weixin_45663264/article/details/103913724