Unable to install meteorite on Ubuntu VM

微笑、不失礼 提交于 2019-11-29 05:03:00
aaron p

Apparently, Meteor installs its own node and npm and you shouldn't mix these with system or other node or npm installations.

I was searching this for a long time and created/destroyed many EC2 instances until I found the solution.

After curl https://install.meteor.com | /bin/sh simply export the path so your shell can find Meteor's npm:

export PATH=~/.meteor/tools/latest/bin:$PATH does it for .bash-profile.

This allowed me to easily install meteorite, without sudo: npm install -g meteorite

I learned this from https://github.com/oortcloud/meteorite/issues/203

johntday

Here are my Install Steps

1: Update and Upgrade your Ubuntu Depending on how up-to-date your image is, this may take a while.

sudo apt-get update && sudo apt-get upgrade

2: Install curl

sudo apt-get install curl

3: Install node http://lucidservices.com/2013/09/17/install-node-on-ubuntu/

4: Install meteor

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

5: Install meteorite

sudo -H npm install -g meteorite

This happened to me multiple times now - the solution in this thread worked for me - Install NodeJS on Ubuntu 12.10

Neil Han

Please see the answer here: error when type 'sudo npm install -g meteorite'

Your npm cache needs to be cleaned.

rm -rf ~/tmp
sudo npm cache clear
sudo npm install -g meteorite
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!