【问题标题】:meteor not running in my ubuntu流星没有在我的 ubuntu 中运行
【发布时间】:2016-07-20 04:45:48
【问题描述】:

我在笔记本电脑上安装了 ubuntu 以使用流星,但流星无法运行。

我是从官网下载的:

 > curl https://install.meteor.com/ | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4504    0  4504    0     0   1659      0 --:--:--  0:00:02 --:--:--  1658Removing your existing Meteor installation.
100  4504    0  4504    0     0   1539      0 --:--:--  0:00:02 --:--:--  1539
Downloading Meteor distribution
######################################################################## 100.0%

Meteor 0.9.3 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.

To get started fast:

  $ meteor create ~/my_cool_app
  $ cd ~/my_cool_app
  $ meteor

Or see the docs at:

  docs.meteor.com

PC:~$ cd work/buildpulse-cerebus/
PC:~/work/buildpulse-cerebus$ meteor
^C
PC:~/work/buildpulse-cerebus$ meteor update
^C
PC:~/work/buildpulse-cerebus$ sudo meteor

安装后我切换到我的目录(现有的流星应用程序只是克隆了它),当我运行流星时什么都没有发生。

如果我创建新的流星应用程序运行良好,为什么它不能与现有应用程序一起使用。

【问题讨论】:

  • 在这类帖子中,分享错误日志或堆栈跟踪会很有帮助,以便其他人可以帮助您。您表示 meteor run 命令适用于您创建的新应用程序。运行现有应用程序时出现什么错误(您的意思是克隆的流星存储库)?
  • @DavidKim 我遇到了非常相似的错误,没有错误或日志——只是突然出现“Killed”消息。我在下面发布了我的解决方案。

标签: meteor meteorite


【解决方案1】:

您的进程可能会被 Linux 内存不足杀手杀死,因为可用内存已用尽。当我在我的新 DigitalOcean Ubuntu(500Mb 内存)机器上运行“流星”或“流星调试”时,它一直在“下载流星工具”并显示“已终止”消息而死。没有日志,没有错误消息。

我终于在某个地方读到了流星可能需要我拥有的更多内存。

因此,此时的解决方案是从硬盘分配交换空间以用作额外的内存,或者向 Digital Ocean 支付更多的 $$$ 以获得更大内存的机器。

我选择了第一个选项,并从 HDD following this excellent article 分配了 5GB 的交换空间内存,Meteor 现在可以正常工作了。我还学到了更多关于系统管理员的东西。

Here's the original stack-overflow answer that helped me.

【讨论】:

    【解决方案2】:

    您可能忘记复制隐藏的.meteor 目录。

    如果您从最初创建应用的位置复制应用,则可能会看到您所描述的行为。

    要修复它,只需将应用程序复制到隐藏的 .meteor 目录即可。

    【讨论】:

      猜你喜欢
      • 2017-02-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-09-29
      • 2014-12-01
      • 1970-01-01
      • 2015-01-13
      • 2023-03-14
      相关资源
      最近更新 更多