Closed muhammad-Osman closed 2 years ago
what is output of npm -v
?
When I see
npm ERR! Unexpected end of JSON input while parsing near '...
I always do
npm cache clean --force
And it helps.
I'm closing this issue due to inactivity. Please reopen if the problem remains!
What is the problem?
npm install -g blitz --legacy-peer-deps
is not working on ubuntu instead of this when i install with yarn in that case
yarn install
successfully but when i run
blitz new myAppName
blitz: no command found
Paste all your error logs here:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/blitz/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Unexpected end of JSON input while parsing near '...McTvOql/de\ninJw8zkC2'
npm ERR! A complete log of this run can be found in: npm ERR! /home/usman/.npm/_logs/2021-09-09T17_09_58_050Z-debug.log
Paste all relevant code snippets here:
npm install -g blitz --legacy-peer-deps
not working
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:command not found
Please include below any other applicable logs and screenshots that show your problem:
No response