- Delete your ‘package-lock.json’ file.
- Run the following command from the root folder of the project:
npm cache verify
. - Run
npm install
.
If you are still facing issues, try the above steps again except for step 2 run the following command instead: npm cache clean --force
.