Skip to content

Instantly share code, notes, and snippets.

@SeriousM
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SeriousM/dce791299e7174f7b4d0 to your computer and use it in GitHub Desktop.
Save SeriousM/dce791299e7174f7b4d0 to your computer and use it in GitHub Desktop.
Fixing Meteor/Meteorite Updates

removing meteor (usually not needed!)

# user settings
sudo rm /usr/local/bin/meteor

#meteor installation
rm -rf ~/.meteor

removing meteorite

# for non-sudo
mrt uninstall
mrt uninstall --system

# for sudo
sudo mrt uninstall
sudo mrt uninstall --system

fixing the npm rights

sudo chown -R `whoami` ~/.npm

installing meteor

curl https://install.meteor.com/ | sh

installing meteorite

# for non-sudo
npm install -g meteorite

# for sudo
sudo -H npm install -g meteorite

updating npm

npm update -g npm

updating node

#for non-sudo
npm cache clean -f
npm install -g n
n stable

#for sudo
sudo npm cache clean -f
sudo npm install -g n
sudo n stable

updating meteor

meteor update

updating meteorite packages

mrt update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment