问题
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