I keep getting the error of unexpected end of json input when I run the command npx create-react app
. Here is the error message:
error An unexpected error occurred: "C:\\Users\\Josh\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@svgr-babel-plugin-add-jsx-attribute-5.4.0-81ef61947bb268eb9d50523446f9c638fb355906-integrity\\node_modules\\@svgr\\babel-plugin-add-jsx-attribute\\.yarn-metadata.json: Unexpected end of JSON input".
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\Josh\\Documents\\edconnect-react\\tic-tac-toe\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
info There appears to be trouble with your network connection. Retrying...