Cannot install on mac os x?

Running the basic script as sudo, but all sorts of crap happening. Any idea what could wrong … dump from the terminal:

$ sudo curl https://install.meteor.com/ | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7786 0 7786 0 0 11999 0 --:–:-- --:–:-- --:–:-- 11996
Downloading Meteor distribution
######################################################################## 100.0%

Meteor 1.4.3.2 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 “/Users/sab/.meteor/packages/meteor-tool/1.4.3_2/mt-os.osx.x86_64/scripts/admin/launch-meteor” /usr/bin/meteor
(2) Add “$HOME/.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.

  1. Tried: sudo cp “/Users/sab/.meteor/packages/meteor-tool/1.4.3_2/mt-os.osx.x86_64/scripts/admin/launch-meteor” /usr/bin/meteor

  2. No luck.

  3. Tried meteor --help

  4. -bash: meteor: command not found (of course, the bugger won’t install, sigh!)

You should not be using sudo to do the install.

Unfortunately, you will need to use sudo to remove what you’ve currently installed before trying again.

I know I shouldn’t, but that’s what you start trying once things go sour … and I still haven’t figured anything out.

I’m basically trying to install reaction commerce, which will try to install meteor for you if you haven’t already. And I get a message that states meteor is installed succesfully … which it is not.

So what happened when you first tried installing without sudo?

Can’t recall as I’ve done a couple thousand things since …

I’ve tried installing it manually but it keep failing with some permission issues (therefore the initial sudo) …

I’m not familiar with reaction commerce, but I imagine it just performs a naive check, rather than actually verifying a successful installation.

I skipped installing reaction commerce. I’m fighting installing meteor at the moment. The bugger simply won’t install on my machine. It runs thousands and thousands of line of code … all of them ending in: Permission denied

I’ve tried changing the owner of usr/local wihtout any luck.

I can only suggest removing everything that’s part of a Meteor installation and then trying again. If you’ve tried multiple times as root and non-root the debris is likely to be in several places.

  • the home directory of any user you installed as, and also root’s home directory: rm -rf .meteor*
  • The meteor executable: rm /usr/local/bin/meteor

Thanks, tried that. Now it actually installs … I’ll see if I can get reaction going now.

1 Like