Quantcast
Viewing latest article 31
Browse Latest Browse All 48

Answer by Mahedi Hasan Durjoy for Npm install cannot find module 'semver'

Just uninstall node js then reinstall it using nvm. Your problem will be solved. I am a debian 10 user.

mahedi@debain:~$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

after executing the command. close your terminal and reopen then run this command to install node js latest version.

mahedi@debain:~$ nvm install v14.15.5

now check by typing node -v


Viewing latest article 31
Browse Latest Browse All 48

Trending Articles



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