为什么 Meteor 开发服务器启动卡住了,如何加速?
Why does Meteor develop server start up stuck, how to speed it up?
在使用meteor
的开发环境中启动Meteor服务器时,总是显示:
Downloading meteor-tool@1.3.4_4...
几个小时过去了,它还在下载这个包。
即使是示例应用程序:
meteor create --example todos
cd todos
meteor npm install
meteor # <-- stuck here
如何找出是什么让它这么慢?
有没有"debug mode"打印更多关于启动过程的信息?
我的环境:
- 4 个 CPU,8GB 内存
- Ubuntu 16.04
- 流星 1.4
系统负载 < 0.2 根据 top
命令。
这是已知的issue。要解决它,请按照下列步骤操作:
1) 安装新版本的 Meteor:
curl https://install.meteor.com/ | sh
2) 在您的项目中,确保它已更新为使用 Meteor 1.4:
cd your_project; meteor update --release 1.4
在使用meteor
的开发环境中启动Meteor服务器时,总是显示:
Downloading meteor-tool@1.3.4_4...
几个小时过去了,它还在下载这个包。
即使是示例应用程序:
meteor create --example todos
cd todos
meteor npm install
meteor # <-- stuck here
如何找出是什么让它这么慢? 有没有"debug mode"打印更多关于启动过程的信息?
我的环境:
- 4 个 CPU,8GB 内存
- Ubuntu 16.04
- 流星 1.4
系统负载 < 0.2 根据 top
命令。
这是已知的issue。要解决它,请按照下列步骤操作:
1) 安装新版本的 Meteor:
curl https://install.meteor.com/ | sh
2) 在您的项目中,确保它已更新为使用 Meteor 1.4:
cd your_project; meteor update --release 1.4