javascript - ubuntu 上的 meteor 错误。退出并显示代码 : 1 => Your application is crashing. 等待文件更改

标签 javascript ubuntu meteor

我是 Meteor 新手,我刚刚在我的 ubuntu 上安装了 Meteor。在那之前一切都很好。但在那之后,每当我想创建我的第一个 meteor 应用程序时,我都会遇到这个问题

W20171106-22:15:32.531(1)? (STDERR) /home/shahin/firstApp/.meteor/local

/build/programs/server/boot.js:467
W20171106-22:15:32.532(1)? (STDERR) }).run();
W20171106-22:15:32.532(1)? (STDERR)    ^
W20171106-22:15:32.533(1)? (STDERR) 
W20171106-22:15:32.533(1)? (STDERR) Error: The babel-runtime npm package could not be found in your node_modules 
W20171106-22:15:32.533(1)? (STDERR) directory. Please run the following command to install it:
W20171106-22:15:32.534(1)? (STDERR) 
W20171106-22:15:32.534(1)? (STDERR)   meteor npm install --save babel-runtime
W20171106-22:15:32.534(1)? (STDERR) 
W20171106-22:15:32.534(1)? (STDERR)     at babel-runtime.js (packages/babel-runtime.js:36:9)
W20171106-22:15:32.535(1)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:333:9)
W20171106-22:15:32.535(1)? (STDERR)     at require (packages/modules-runtime.js:228:16)
W20171106-22:15:32.535(1)? (STDERR)     at packages/babel-runtime.js:155:15
W20171106-22:15:32.535(1)? (STDERR)     at packages/babel-runtime.js:166:3
W20171106-22:15:32.536(1)? (STDERR)     at infos.forEach.info (/home/shahin/firstApp/.meteor/local/build/programs/server/boot.js:414:13)
W20171106-22:15:32.536(1)? (STDERR)     at Array.forEach (<anonymous>)
W20171106-22:15:32.536(1)? (STDERR)     at /home/shahin/firstApp/.meteor/local/build/programs/server/boot.js:413:9
W20171106-22:15:32.536(1)? (STDERR)     at /home/shahin/firstApp/.meteor/local/build/programs/server/boot.js:463:5
W20171106-22:15:32.537(1)? (STDERR)     at Function.run (/home/shahin/firstApp/.meteor/local/build/programs/server/profile.js:510:12)
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

当我在终端上编写此命令时遇到这个问题

shahin@shahin-Inspiron-N5010:~$ cd firstApp
shahin@shahin-Inspiron-N5010:~/firstApp$ meteor -v

如果有人帮我解决这个问题,我会很高兴。

最佳答案

欢迎来到 StackOverflow!

您似乎尚未运行 meteor npm install 。 Meteor 不会为您管理 npm 包,因此您需要自己运行该命令。

关于javascript - ubuntu 上的 meteor 错误。退出并显示代码 : 1 => Your application is crashing. 等待文件更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47146073/

相关文章:

flutter - VISUAL STUDIO CODE 工作时 scrcpy 不工作

linux - 输出是否有字符限制

postgresql - 增加 shared_buffer > 25% 的 RAM 会使 Postgres 崩溃,Ubuntu 报告大量 "available"内存

javascript - WeakMap 模式单例无内存泄漏

javascript - Javascript 找不到 div 类?

javascript - 使用 forEach() 时如何将参数 'this' 绑定(bind)到数组的每个元素?

javascript - Meteor 应用程序用 mup 延迟,在 nginx 后面不显示

javascript - Meteor router for multiple layouts 为家庭使用不同的布局

heroku - 在哪里托管 Meteor-Apps?

javascript - Node.js - 迭代运行带有回调的函数