Let’s start with the deletions, then we’ll move on to the reinstallations.
- If you ever installed Meteorite, uninstall and delete it:
sudo mrt uninstall sudo mrt uninstall --system rm -rf ~/.meteorite - Then delete Meteor:
sudo rm /usr/local/bin/meteor rm -rf ~/.meteor
Now start over at the beginning:
- Repair permissions if necessary:
sudo chown -R $(whoami) ~/.npm - Reinstall Meteor:
curl https://install.meteor.com/ | sh - Next check that your project has all its proper packages:
cd /path/to/your/project meteor update - If your project still won’t compile, you can reset it (warning: deletes database):
cd /path/to/your/project meteor reset - Still no luck? Recreate the Meteor project (warning: deletes database and the project’s memory of what packages you’ve installed):
cd /path/to/your/project rm -rf ./.meteor cd .. meteor create project-new rm ./project-new/project-new.* mv ./project/* ./project-new/ cd ./project-new(and runmeteor add *packagename*over and over to reinstall each package you were using)