hey-cli
hey-cli copied to clipboard
what`s wrong?SyntaxError: Unexpected end of JSON input while parsing near '...ame":"loose-envify","'
- npm -v 6.14.5
- node -v 12.5.0&8.11.4
$ npm i -g hey-cli
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! Unexpected end of JSON input while parsing near '...ame":"loose-envify","'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xxx\AppData\Roaming\npm-cache\_logs\2020-05-10T09_20_07_302Z-debug.log
###.log
580 silly fetchPackageMetaData error for loose-envify@^1.0.0 Unexpected end of JSON input while parsing near '...ame":"loose-envify","'
581 timing stage:rollbackFailedOptional Completed in 2ms
582 timing stage:runTopLevelLifecycles Completed in 15224ms
583 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...ame":"loose-envify","'
583 verbose stack at JSON.parse (<anonymous>)
585 verbose Windows_NT 10.0.18362
587 verbose node v8.11.4
588 verbose npm v6.14.5
589 error Unexpected end of JSON input while parsing near '...ame":"loose-envify","'
590 verbose exit [ 1, true ]
Try deleting manually the NPM cache at C:\Users\Shoaib\AppData\Roaming\npm_cache