0

I saw many articles that similar to my problem like these npx create react-app command doesn't work , command "npx create-react-app project" not generating project but no one solved mine.

When I wrote npx create-react-app myapp this error happen

error An unexpected error occurred: "C:\Users\alothman\AppData\Local\Yarn\Cache\v6\npm-p-limit-2.2.2-61279b67721f5287aa1c13a9a7fbbc48c9291b1e-integrity\node_modules\p-limit\.yarn-metadata.json: Unexpected token \u0000 in JSON at position 0".

enter image description here and this attaching file was appeared (yarn-error)

https://drive.google.com/file/d/17cOAb2rrS-r9uSUEGvDU1-CAnTukDYFI/view?usp=sharing

hope you help me thank you

2
  • 1
    Have you tried running yarn cache clean? This looks like an issue with a corrupted cache. Commented Jun 8, 2020 at 18:16
  • yess, it works thank you so much Commented Jun 8, 2020 at 18:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.