Quantcast
Channel: Npm install cannot find module 'semver' - Stack Overflow
Viewing all articles
Browse latest Browse all 48

Answer by Shubham Jaiswal for Npm install cannot find module 'semver'

$
0
0

Actually, it is taking the reference of previously stored modules.

Solution:Delete the npm-cache/npm folder in the installation directory of nodejs. In windows, it is in C:/User/Username/Appdata/Roaming/npm(or npm_cache). and try to install again.

Same thing to do in any OS.


Viewing all articles
Browse latest Browse all 48

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>