Node.js npm module problems

If you have problems with installing node modules via npm and get "unmet dependency" errors then try to remove all installed modules, clear the npm cache and reinstall. Log in to the node with ssh and run the following commands.

cd /opt/repo/ROOT
npm cache clean
rm -r node_modules
npm install
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Please sign in to leave a comment.