JSON Error when create react app

你。 提交于 2019-12-30 07:25:09

问题


Trying to follow tutorial on react (Here: https://hackernoon.com/simple-react-development-in-2017-113bd563691f), but I keep getting JSON error "Error parsing JSON. unexpected end of JSON input." I'm using yarn. How do i fix the JSON input?


回答1:


i faced the same issue & this solved the issue :

try the below command in your terminal

npm cache clean --force

solution ref




回答2:


For me the answer given by @M.abosalem didn't work but

yarn cache clean

did the trick



来源:https://stackoverflow.com/questions/44683555/json-error-when-create-react-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!