Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Meteor - Couldn't write the launcher script

I am front-end developer attempting to crossover into the world of web app development. I've come a long way in learning Javascript, and now I'm looking to toy around with frameworks.

I still have a bit to learn about using the OSX terminal, but I was hoping somebody could help me with this first stumble I'm having....

I try to install meteor using:

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

Then I get the following:

Meteor 0.6.4 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.
This may prompt for your password.
cp: /usr/local/bin/meteor: No such file or directory

Couldn't write the launcher script. Please either:

(1) Run the following as root:
cp ~/.meteor/tools/latest/launch-meteor /usr/bin/meteor
(2) Add ~/.meteor to your path, or
(3) Rerun this command to try again.

Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.

like image 624
Phil Smith Avatar asked Jun 17 '13 20:06

Phil Smith


1 Answers

If it's still helpful to anyone, going into /usr/local/bin, running "sudo rm meteor" then running the install gets it to work for me

like image 107
Robert San Soucie Avatar answered Sep 28 '22 15:09

Robert San Soucie