npm ERR! Unexpected end of JSON input while parsing near '...ersion: OpenPGP.js v3' getting this error while installing create-react-app and aborting
Asked
Active
Viewed 212 times
0

Najma Muhammed
- 224
- 2
- 5
-
which version of node and npm are you using ? – Priyesh Diukar May 06 '19 at 09:19
-
Have you tried this `npx create-react-app my-app`? Ref - https://reactjs.org/docs/create-a-new-react-app.html – ravibagul91 May 06 '19 at 09:22
-
I have tried with npx create-react-app my-app also – Najma Muhammed May 06 '19 at 09:55
-
I'm using node - 8.16 and npm 6.9 – Najma Muhammed May 06 '19 at 09:56
1 Answers
0
I had the same issue, and the answers in this question helped me.
source issue: Error installing reactjs: Error unexpected end of JSON input while parsing near
I just needed to run the following command
npm cache clean --force

Mo Faried
- 97
- 6