javascript - 我正在尝试运行我的 meteor 应用程序,但它给出了一堆错误

标签 javascript node.js meteor

请帮我解决这个问题。运行应用程序时,它显示错误。我应该做什么来修复它,为什么会出现这些错误?

C:\Users\admin\notes> meteor [[[[[ C:\Users\admin\notes ]]]]]

=> Started proxy.
=> A patch (Meteor 1.4.2.3) for your current release is available!
   Update this project now with 'meteor update --patch'.
=> Started MongoDB.
W20161120-00:20:37.659(5.5)? (STDERR) C:\Users\admin\notes\.meteor\local\build\p
rograms\server\boot.js:348
W20161120-00:20:37.773(5.5)? (STDERR) }).run();
W20161120-00:20:37.775(5.5)? (STDERR)    ^
W20161120-00:20:37.776(5.5)? (STDERR)
W20161120-00:20:37.777(5.5)? (STDERR) Error: The babel-runtime npm package could
 not be found in your node_modules
W20161120-00:20:37.780(5.5)? (STDERR) directory. Please run the following comman
d to install it:
W20161120-00:20:37.783(5.5)? (STDERR)
W20161120-00:20:37.785(5.5)? (STDERR)   meteor npm install --save babel-runtime
W20161120-00:20:37.787(5.5)? (STDERR)
W20161120-00:20:37.788(5.5)? (STDERR)     at meteorInstall.node_modules.meteor.b
abel-runtime.babel-runtime.js (packages\babel-runtime.js:37:9)
W20161120-00:20:37.791(5.5)? (STDERR)     at fileEvaluate (packages\modules-runt
ime.js:181:9)
W20161120-00:20:37.794(5.5)? (STDERR)     at require (packages\modules-runtime.j
s:106:16)
W20161120-00:20:37.796(5.5)? (STDERR)     at packages\babel-runtime.js:139:15
W20161120-00:20:37.798(5.5)? (STDERR)     at packages\babel-runtime.js:150:3
W20161120-00:20:37.799(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:295:34
W20161120-00:20:37.801(5.5)? (STDERR)     at Array.forEach (native)
W20161120-00:20:37.803(5.5)? (STDERR)     at Function._.each._.forEach (C:\Users
\admin\AppData\Local\.meteor\packages\meteor-tool\1.4.2_1\mt-os.windows.x86_32\d
ev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20161120-00:20:37.807(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:128:5
W20161120-00:20:37.810(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:344:5
=> Exited with code: 1
W20161120-00:20:39.759(5.5)? (STDERR) C:\Users\admin\notes\.meteor\local\build\p
rograms\server\boot.js:348
W20161120-00:20:39.762(5.5)? (STDERR) }).run();
W20161120-00:20:39.764(5.5)? (STDERR)    ^
W20161120-00:20:39.767(5.5)? (STDERR)
W20161120-00:20:39.769(5.5)? (STDERR) Error: The babel-runtime npm package could
 not be found in your node_modules
W20161120-00:20:39.772(5.5)? (STDERR) directory. Please run the following comman
d to install it:
W20161120-00:20:39.775(5.5)? (STDERR)
W20161120-00:20:39.777(5.5)? (STDERR)   meteor npm install --save babel-runtime
W20161120-00:20:39.779(5.5)? (STDERR)
W20161120-00:20:39.781(5.5)? (STDERR)     at meteorInstall.node_modules.meteor.b
abel-runtime.babel-runtime.js (packages\babel-runtime.js:37:9)
W20161120-00:20:39.784(5.5)? (STDERR)     at fileEvaluate (packages\modules-runt
ime.js:181:9)
W20161120-00:20:39.787(5.5)? (STDERR)     at require (packages\modules-runtime.j
s:106:16)
W20161120-00:20:39.790(5.5)? (STDERR)     at packages\babel-runtime.js:139:15
W20161120-00:20:39.791(5.5)? (STDERR)     at packages\babel-runtime.js:150:3
W20161120-00:20:39.793(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:295:34
W20161120-00:20:39.796(5.5)? (STDERR)     at Array.forEach (native)
W20161120-00:20:39.798(5.5)? (STDERR)     at Function._.each._.forEach (C:\Users
\admin\AppData\Local\.meteor\packages\meteor-tool\1.4.2_1\mt-os.windows.x86_32\d
ev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20161120-00:20:39.802(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:128:5
W20161120-00:20:39.804(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:344:5
=> Exited with code: 1
W20161120-00:20:41.575(5.5)? (STDERR) C:\Users\admin\notes\.meteor\local\build\p
rograms\server\boot.js:348
W20161120-00:20:41.578(5.5)? (STDERR) }).run();
W20161120-00:20:41.580(5.5)? (STDERR)    ^
W20161120-00:20:41.581(5.5)? (STDERR)
W20161120-00:20:41.582(5.5)? (STDERR) Error: The babel-runtime npm package could
 not be found in your node_modules
W20161120-00:20:41.585(5.5)? (STDERR) directory. Please run the following comman
d to install it:
W20161120-00:20:41.587(5.5)? (STDERR)
W20161120-00:20:41.589(5.5)? (STDERR)   meteor npm install --save babel-runtime
W20161120-00:20:41.590(5.5)? (STDERR)
W20161120-00:20:41.591(5.5)? (STDERR)     at meteorInstall.node_modules.meteor.b
abel-runtime.babel-runtime.js (packages\babel-runtime.js:37:9)
W20161120-00:20:41.593(5.5)? (STDERR)     at fileEvaluate (packages\modules-runt
ime.js:181:9)
W20161120-00:20:41.596(5.5)? (STDERR)     at require (packages\modules-runtime.j
s:106:16)
W20161120-00:20:41.598(5.5)? (STDERR)     at packages\babel-runtime.js:139:15
W20161120-00:20:41.600(5.5)? (STDERR)     at packages\babel-runtime.js:150:3
W20161120-00:20:41.601(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:295:34
W20161120-00:20:41.604(5.5)? (STDERR)     at Array.forEach (native)
W20161120-00:20:41.606(5.5)? (STDERR)     at Function._.each._.forEach (C:\Users
\admin\AppData\Local\.meteor\packages\meteor-tool\1.4.2_1\mt-os.windows.x86_32\d
ev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20161120-00:20:41.608(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:128:5
W20161120-00:20:41.611(5.5)? (STDERR)     at C:\Users\admin\notes\.meteor\local\
build\programs\server\boot.js:344:5
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

最佳答案

你尝试过这样做吗

meteor npm install --save babel-runtime

关于javascript - 我正在尝试运行我的 meteor 应用程序,但它给出了一堆错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40696811/

相关文章:

javascript - 在悬停另一个元素时更改元素的显示不起作用

javascript - 捕获自定义错误并发回自定义响应

node.js - Mongoose 类型错误 : User is not a constructor

javascript - 使用 Ext.DIrect 提交 extjs 表单

javascript - 为什么我在 IE 中重新加载此页面时收到 "Leave this page"消息?

node.js - Google Compute Engine、Nginx 和 Meteor 上的 502 错误网关

javascript - atNavButton 将按钮文本更改为 meteor 用户帐户中的图标

angularjs - YouTube 分析 - 创建请求

javascript - 随性绘图

javascript - 使用 node.js express 从数据库获取和处理数据