javascript - 安装meteor运行基本demo发生错误。

 金玉的海角_745 发布于 2022-11-11 21:58
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.

求教啊。

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

    2022-11-12 01:53 回答
  • 截图的第三行

    2022-11-12 01:53 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有