Version
last version
Reproduction link
http://www.google.com
Operating System
1
Device
1
Browser & Version
1
Steps to reproduce
1.npm install
What is expected?
run
What is actually happening?
3440 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...shasum":"c5d55af894a3'
3440 verbose stack at JSON.parse ()
3440 verbose stack at parseJson (C:\Users\user\AppData\Roaming\npm\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
3440 verbose stack at C:\Users\user\AppData\Roaming\npm\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50
3440 verbose stack at runMicrotasks ()
3440 verbose stack at processTicksAndRejections (internal/process/task_queues.js:97:5)
3441 verbose cwd F:\文件下载\vuetify-material-dashboard-master (1)\vuetify-material-dashboard-master
3442 verbose Windows_NT 10.0.14393
3443 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\user\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
3444 verbose node v12.16.3
3445 verbose npm v6.14.4
3446 error Unexpected end of JSON input while parsing near '...shasum":"c5d55af894a3'
3447 verbose exit [ 1, true ]
Solution
Additional comments
3440 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...shasum":"c5d55af894a3'
3440 verbose stack at JSON.parse ()
3440 verbose stack at parseJson (C:\Users\user\AppData\Roaming\npm\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
3440 verbose stack at C:\Users\user\AppData\Roaming\npm\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50
3440 verbose stack at runMicrotasks ()
3440 verbose stack at processTicksAndRejections (internal/process/task_queues.js:97:5)
3441 verbose cwd F:\文件下载\vuetify-material-dashboard-master (1)\vuetify-material-dashboard-master
3442 verbose Windows_NT 10.0.14393
3443 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\user\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
3444 verbose node v12.16.3
3445 verbose npm v6.14.4
3446 error Unexpected end of JSON input while parsing near '...shasum":"c5d55af894a3'
3447 verbose exit [ 1, true ]