Issue
Please help me on this. I can’t create a new Vue CLI project. It previously works good! Now not working…
Vue CLI v4.2.3
✨ Creating project in /Web develop/Vue Projects/new.
🗃 Initializing git repository…
⚙️ Installing CLI plugins. This might take a while…
npm ERR! Unexpected end of JSON input while parsing near ‘…loader”:”~0.8.0″,”js-‘
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Malaka/.npm/_logs/2020-03-25T06_30_10_474Z-debug.log
ERROR command failed: npm install –loglevel error
Solution
seems a cache error
run
npm cache clean --force
then try create the project again
Answered By – Hank X
Answer Checked By – Gilberto Lyons (AngularFixing Admin)