使用Modulus部署的Meteor应用程序

时间:2015-06-10 17:59:15

标签: meteor token modulus demeteorizer

当我尝试从我的app目录中输入$modulus deploy到终端时,我收到此错误:

Determining Meteor version...
Meteor version: 1.1.0.2
Bundling Meteor App...
undefined
[Error] Error: Command failed: /bin/sh -c cd /Users/xx/Projects/Project1 && meteor bundle   --directory /Users/xx/Projects/Project1/.demeteorized
This command has been deprecated in favor of 'meteor build', which allows you
to build for multiple platforms and outputs a directory instead of a single
tarball. See 'meteor help build'for more information.


WARNING: The output directory is under your source tree.

Errors prevented bundling:
While building the application:
client/Project1.js:138:29: Unexpected token =

我与$demeteorizer得到相同的结果。它适用于旧版本的应用程序,然后我在新分支中添加了一些功能,合并,现在我收到此错误。

已经尝试过:
sudo npm update -g modulus

1 个答案:

答案 0 :(得分:0)

原来这是我的代码中的实际错误。我在某个地方有一个额外的大括号。