错误!在“...f1720”附近解析时 JSON 输入意外结束,"tarball":“htt”laravel 7

npm ERR! Unexpected end of JSON input while parsing near '...f1720","tarball":"htt' laravel 7

如何解决这个错误?我已经安装了 php artisan ui vue --auth 但我不能 运行 这个命令,npm install,我得到这个错误。

$ npm install npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x l npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated fsevents@1.2.12: fsevents 1 will break on node v14+. Upgrade to fsevents 2 with mass npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm ERR! Unexpected end of JSON input while parsing near '...6","nib":"1.0.1"},"bi' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Wahidin\AppData\Roaming\npm-cache_logs20-04-21T04_03_08_102Z-debug.log

look similar github issue

npm cache clean --force

试一试。