Angular-npm ERR cb() never called
Here is easy steps to solve this problem?
while installing a node package from the package.json file and the package-lock.json file is corrupted due to some reasons like the node.js version is updated to the latest, you may see an error like this in our terminal.
Following are the possible solutions to this problem, I trust, you may try one of them will work for you.
Solution 1:
Solution 2:
Or
You might also manually remove the node_modules folder and try again in case the command above failed.
If still doesn't work, the global cache might be broken, try running npm cache clean --force and then do a clean install.
Solution 3:
Just globally installed the newest version of NPM and my guess Clearing npm cache is optional.
Comments
Post a Comment