React create-react-app Unexpected end of JSON input while parsing near

react 执行 create-react-app 时报这个错误,

Unexpected end of JSON input while parsing near ‘…NATURE—–\r\n”},”en’

首先执行

npm cache clean --force

在重新安装一遍npm

npm install npm -g

参考:

https://www.jianshu.com/p/c7c0b06cfcf1