Error in NPM install:
npm ERR! Unexpected end of JSON input while parsing near '...","webpack-dev-server'
Solution:
Step one:
npm cache clean --force
Step 2: (re install)
npm install
Similar Posts:
- [Solved] NPM installation Vue scaffold error: npm ERR! Unexpected end of JSON input while parsing near…
- After npm5, execute NPM cache clean and report an error
- Error message encountered in new Vue project
- WebPack Task Runner
- [Solved] Webpack Error: [webpack-cli] Unable to load ‘@webpack-cli/serve’ command
- npm WARN saveError ENOENT: no such file or directory, open ‘C:\Users\James\package.json’
- error An unexpected error occurred: “EPERM: operation not permitted, scandir ‘E:\\aPritice\\JDe\\e
- Building for production… ERROR TypeError: Cannot read property ‘createHash‘ of undefined
- [Solved] [email protected] Error: Cannot find module ‘webpack/bin/config-yargs‘
- Webpack packaging error: cannot find module ‘webpack / bin / config yargs’ error reason, [email protected] Step on the pit~