Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Fix for Cannot Find Module 'Semver' on Ubuntu 20.04 #125

Open
thomashoddinott opened this issue Nov 25, 2020 · 0 comments
Open

Fix for Cannot Find Module 'Semver' on Ubuntu 20.04 #125

thomashoddinott opened this issue Nov 25, 2020 · 0 comments

Comments

@thomashoddinott
Copy link

thomashoddinott commented Nov 25, 2020

Fix for Cannot Find Module 'Semver' on Ubuntu 20.04

I was unable to run npm run setup --silent and npm run dev until I followed these instructions:

https://cleody.com/post/508/fix-cannot-find-module-semver-error-when-using-ubuntu

sudo apt-get remove nodejs
sudo apt-get remove npm
sudo rm -rf ~/.npm
sudo rm -rf /usr/local/lib/node_modules
curl -0 -L https://npmjs.org/install.sh | sudo sh

I am not sure why this was necessary, but it worked. It appears to be an Ubuntu specific problem.

@thomashoddinott thomashoddinott changed the title Ubuntu 20.04 - Cannot Find Module 'Semver' Fix for Cannot Find Module 'Semver' on Ubuntu 20.04 Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant