arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 394 forks source link

Can't run MUP on Vagrant box #424

Open MilosStanic opened 9 years ago

MilosStanic commented 9 years ago

I have a Vagrant Ubuntu/trusty64 box setup on my Windows 7 machine for development.

I installed mup via sudo npm install -g mup but it doesn't run. When I enter mup on my vagrant box ssh it returns empty... no help, no error, nothing, just goes back to prompt. Also, I noted the node command doesn't work either. Just goes to next line and no error, nothing. The same with MUP.

The meteor app server runs fine on the same box.

Can someone, please, help me?

MilosStanic commented 9 years ago

OK, I found the problem, Ubuntu 14.04 has a name collision with ax25-node package, so the node is actually referred to that package. You have to make ln -s /usr/bin/nodejs /usr/bin/node Ref. here http://askubuntu.com/questions/477577/alias-of-nodejs-as-node-on-14-04 and here https://www.digitalocean.com/community/questions/ubuntu-repo-nodejs-require-symlink-to-node-to-use-forever

After that, mup runs fine.

It would probably be nice to add this warning to the docs.

x5engine commented 9 years ago

i'm still having this issue on ubuntu 14

and used lm -s /usr/bin/nodejs /usr/bin/node

and mup init or setup nothing works !!!!!!!!!!!!!!!!!!!

arunoda commented 9 years ago

Try mupx: https://github.com/arunoda/meteor-up/tree/mupx#

On Wed, May 20, 2015 at 7:51 AM Capensis notifications@github.com wrote:

i'm still having this issue on ubuntu 14

and used lm -s /usr/bin/nodejs /usr/bin/node

and mup init or setup nothing works !!!!!!!!!!!!!!!!!!!

— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/424#issuecomment-103729283.

x5engine commented 9 years ago

okey thanks, i will try it now

can i use mupx with nodejs 0.10.25 ??

arunoda commented 9 years ago

Yes. And in the server, it uses docker. So, it'll manage the node version for you.

On Wed, May 20, 2015 at 8:11 AM Capensis notifications@github.com wrote:

okey thanks, i will try it now

can i use mupx with nodejs 0.10.25 ??

— Reply to this email directly or view it on GitHub https://github.com/arunoda/meteor-up/issues/424#issuecomment-103733141.