无法运行流星的捆绑

时间:2015-06-15 09:18:38

标签: meteor bundle

我有一个流星项目,运行良好的'meteor'。然后我尝试使用捆绑来运行我的流星项目,我的操作如下。

/*get the bundle*/
meteor build test/
cd test
tar -zxvf myproject.tar.gz

/*install the node packages and upgrade the node*/
npm install fibers
npm install n
n 0.10.36
/*set the env*/
export MONGO_URL='mongodb://127.0.0.1:31001'
export ROOT_URL='http://localhost:3000'
export PORT=3000

/*run*/
node bundle/main.js

在打开浏览器并访问'localhost:3000'之前,它似乎非常成功。 页面显示 “

iron:router
Organize your Meteor application.

Router.route('/', function () {
  this.render('Home', {
    data: function () { return Items.findOne({_id: this.params._id}); }
  });
});

如果有人能给我一些想法,我将不胜感激! ps:我很抱歉我没有足够的声誉来展示屏幕截图......

0 个答案:

没有答案