javascript - 安装meteor运行基本demo发生错误。
PHP中文网
PHP中文网 2017-04-11 11:42:48
[JavaScript讨论组]
bogon:~ paul$ curl https://install.meteor.com/ | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7786    0  7786    0     0   5938      0 --:--:--  0:00:01 --:--:--  5938
Downloading Meteor distribution
######################################################################## 100.0%

Meteor 1.4.2.3 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.

To get started fast:

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

Or see the docs at:

  docs.meteor.com

bogon:~ paul$ meteor create demo1
Created a new Meteor app in 'demo1'.

To run your new app:
  cd demo1
  meteor npm install
  meteor

If you are new to Meteor, try some of the learning resources here:
  https://www.meteor.com/learn

meteor create --bare to create an empty app.
meteor create --full to create a scaffolded app.

bogon:~ paul$ cd demo1
bogon:demo1 paul$ meteor
[[[[[ ~/demo1 ]]]]]

=> Started proxy.
=> Started MongoDB.
W20170131-08:51:58.282(8)? (STDERR) /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:348
W20170131-08:51:58.345(8)? (STDERR) }).run();
W20170131-08:51:58.345(8)? (STDERR)    ^
W20170131-08:51:58.346(8)? (STDERR)
W20170131-08:51:58.346(8)? (STDERR) Error: The babel-runtime npm package could not be found in your node_modules
W20170131-08:51:58.346(8)? (STDERR) directory. Please run the following command to install it:
W20170131-08:51:58.347(8)? (STDERR)
W20170131-08:51:58.347(8)? (STDERR)   meteor npm install --save babel-runtime
W20170131-08:51:58.348(8)? (STDERR)
W20170131-08:51:58.348(8)? (STDERR)     at meteorInstall.node_modules.meteor.babel-runtime.babel-runtime.js (packages/babel-runtime.js:37:9)
W20170131-08:51:58.349(8)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:181:9)
W20170131-08:51:58.349(8)? (STDERR)     at require (packages/modules-runtime.js:106:16)
W20170131-08:51:58.349(8)? (STDERR)     at packages/babel-runtime.js:139:15
W20170131-08:51:58.350(8)? (STDERR)     at packages/babel-runtime.js:150:3
W20170131-08:51:58.350(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:295:34
W20170131-08:51:58.350(8)? (STDERR)     at Array.forEach (native)
W20170131-08:51:58.351(8)? (STDERR)     at Function._.each._.forEach (/Users/paul/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20170131-08:51:58.351(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:128:5
W20170131-08:51:58.352(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:344:5
=> Exited with code: 1
W20170131-08:51:59.357(8)? (STDERR) /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:348
W20170131-08:51:59.358(8)? (STDERR) }).run();
W20170131-08:51:59.358(8)? (STDERR)    ^
W20170131-08:51:59.358(8)? (STDERR)
W20170131-08:51:59.359(8)? (STDERR) Error: The babel-runtime npm package could not be found in your node_modules
W20170131-08:51:59.359(8)? (STDERR) directory. Please run the following command to install it:
W20170131-08:51:59.360(8)? (STDERR)
W20170131-08:51:59.360(8)? (STDERR)   meteor npm install --save babel-runtime
W20170131-08:51:59.361(8)? (STDERR)
W20170131-08:51:59.362(8)? (STDERR)     at meteorInstall.node_modules.meteor.babel-runtime.babel-runtime.js (packages/babel-runtime.js:37:9)
W20170131-08:51:59.362(8)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:181:9)
W20170131-08:51:59.362(8)? (STDERR)     at require (packages/modules-runtime.js:106:16)
W20170131-08:51:59.363(8)? (STDERR)     at packages/babel-runtime.js:139:15
W20170131-08:51:59.363(8)? (STDERR)     at packages/babel-runtime.js:150:3
W20170131-08:51:59.364(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:295:34
W20170131-08:51:59.364(8)? (STDERR)     at Array.forEach (native)
W20170131-08:51:59.364(8)? (STDERR)     at Function._.each._.forEach (/Users/paul/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20170131-08:51:59.365(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:128:5
W20170131-08:51:59.365(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:344:5
=> Exited with code: 1
W20170131-08:52:00.369(8)? (STDERR) /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:348
W20170131-08:52:00.370(8)? (STDERR) }).run();
W20170131-08:52:00.370(8)? (STDERR)    ^
W20170131-08:52:00.370(8)? (STDERR)
W20170131-08:52:00.370(8)? (STDERR) Error: The babel-runtime npm package could not be found in your node_modules
W20170131-08:52:00.370(8)? (STDERR) directory. Please run the following command to install it:
W20170131-08:52:00.371(8)? (STDERR)
W20170131-08:52:00.371(8)? (STDERR)   meteor npm install --save babel-runtime
W20170131-08:52:00.371(8)? (STDERR)
W20170131-08:52:00.371(8)? (STDERR)     at meteorInstall.node_modules.meteor.babel-runtime.babel-runtime.js (packages/babel-runtime.js:37:9)
W20170131-08:52:00.371(8)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:181:9)
W20170131-08:52:00.372(8)? (STDERR)     at require (packages/modules-runtime.js:106:16)
W20170131-08:52:00.372(8)? (STDERR)     at packages/babel-runtime.js:139:15
W20170131-08:52:00.372(8)? (STDERR)     at packages/babel-runtime.js:150:3
W20170131-08:52:00.373(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:295:34
W20170131-08:52:00.373(8)? (STDERR)     at Array.forEach (native)
W20170131-08:52:00.374(8)? (STDERR)     at Function._.each._.forEach (/Users/paul/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20170131-08:52:00.374(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:128:5
W20170131-08:52:00.374(8)? (STDERR)     at /Users/paul/demo1/.meteor/local/build/programs/server/boot.js:344:5
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

求教啊。

PHP中文网
PHP中文网

认证0级讲师

全部回复(2)
天蓬老师

截图的第三行

高洛峰

To run your new app:
cd demo1
meteor npm install
meteor
少了一步,原谅新手吧……

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号