meteor - 使用 Meteor 在 Linux 中安装 Meteorite?

标签 meteor centos meteorite

我需要了解如何使用 Meteor 在 linux(Cent O.S)中安装 Meteorite 软件包。我尝试使用 mrt 和 npm,但出现诸如 mrt not found 和 npm not find 之类的错误。我是meteor 的新手。所以可以请您建议我如何在 Meteor 中使用 mrt 和 npm 包?以下是用来安装 Meteorite 的。

npm install -g meteorite
sudo -H npm install -g meteorite  

以上都是 get 错误,都是找不到 npm。

我正在使用 Ubuntu,但出现以下错误:

[root@localhost HCare]# sudo apt-get install nodejs nodejs-dev npm
sudo: apt-get: command not found
[root@localhost HCare]#

以上都是 get 错误,都是 npm 没有找到。我正在使用 yum -y update 并且还收到了很多下面的消息,但这是否正确但我不知道?

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 2.4 M RSS (356 MB VSZ)
    Started: Sat Mar 22 06:41:50 2014 - 3 day(s) 12:13:19 ago
    State  : Sleeping, pid: 6457

并且也不会退出并收到很多上述消息。

最佳答案

我建议使用您的发行版的包管理器,在本例中为 YUM:

  1. 安装nodejs和npm:yum install nodejs npm
  2. 安装陨石npm install -g Meteorite

既然你已经安装了meteor,就这样了。

关于meteor - 使用 Meteor 在 Linux 中安装 Meteorite?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22635334/

相关文章:

javascript - Bootstrap 选项卡和 Meteor

docker - 无法停止正在运行的 docker 容器

javascript - Meteor 更新到 1.3 时卡住了

jquery - 如何将 jQuery UI 小部件与 Meteor.js 一起使用?

coffeescript - Meteor 发布附加用户信息登录/注销

javascript - meteor -检测无限循环

javascript - 模拟调用效果时出现异常 'insertPlayerData' ReferenceError : currentUserId is not defined

javascript - 如何通过react.js在meteor.js中创建用户

PHP 调用 Expect 脚本(通过 SSH 运行脚本,但使用 PHP 调用)

Centos6上的Ruby安装问题