如何找到Meteor的用户路径?

时间:2016-09-24 16:49:08

标签: meteor

我在终端中获得的例子:

$ cd portfolio
-bash: cd: portfolio: No such file or directory

$ meteor create myApp
-bash: meteor: command not found

$ sudo meteor create myApp
Password:
sudo: meteor: command not found

$ meteor help
-bash: meteor: command not found

我有多个应用程序都运行到几分钟前。总菜鸟所以我可能做了一些愚蠢的事情。但是......以为我可能会卸载并进行全新安装,但无法在命令行上执行任何操作。

Mac OS 10.11.16

有什么想法吗?

更新

更新:我运行了curl https://install.meteor.com/。至少发生了一件事。我得到的是:

Couldn't write the launcher script. Please either:
  (1) Run the following as root:
        cp "$LAUNCHER" /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.
EOF
  fi
else
  cat <<EOF

Now you need to do one of the following:

  (1) Add "\$HOME/.meteor" to your path, or
  (2) Run this command as root:
        cp "$LAUNCHER" /usr/bin/meteor

我不知道如何实施这些说明...... !!!如果有人能通过它走我。

1 个答案:

答案 0 :(得分:0)

所以现在你可以按照你的终端说的那样运行meteor npm install --save bcrypt,然后就可以了。