Try this
Step 1:
$ npm cache clean --force
Step 2:
Delete node_modules
by $ rm -rf node_modules
also delete package-lock.json
Step 3:
Update the npm
to the latest stable version
npm install -g [email protected]
Step 3:
npm install
To start again,
$ npm start
More Related Contents:
- Do I commit the package-lock.json file created by npm 5?
- How to solve npm error “npm ERR! code ELIFECYCLE”
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- Why does “npm install” rewrite package-lock.json?
- How to use private Github repo as npm dependency
- How do I fix the npm UNMET PEER DEPENDENCY warning?
- npm install error – unable to get local issuer certificate
- How can I publish an npm package with distribution files?
- npm ERR! Error: connect ECONNREFUSED when trying to update the npm
- npm install – javascript heap out of memory
- npm: When to use `–force` and `–legacy-peer-deps`
- Error : getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
- npm install shows error with git not found
- Why does npm install say I have unmet dependencies?
- Is there a way to get version from package.json in nodejs code?
- ‘npm start’ returns error: “There might be a problem with the project dependency tree”
- Specify path to node_modules in package.json
- How do I import global modules in Node? I get “Error: Cannot find module “?
- Installing Node.js (and npm) on Windows 10
- npm install Error: rollbackFailedOptional
- npm install from Git in a specific version
- error: This is probably not a problem with npm. There is likely additional logging output above
- How to deploy node app that uses grunt to heroku
- How to make the webpack dev server run on port 80 and on 0.0.0.0 to make it publicly accessible?
- GYP ERR! build error. stack Error: ‘make’ failed with exit code 2
- What is the pwa-node type launch configuration on VSCode?
- npm: Why is a version “0.1” invalid?
- How to organise file structure of backend and frontend in MERN
- npm doesn’t work, get always this error -> Error: Cannot find module ‘are-we-there-yet’
- Can’t install any package with node npm