当我尝试从我的应用程序目录向终端输入$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
发布于 2015-07-08 20:09:58
结果发现这是我代码中的一个实际错误。我在某个地方有一个额外的关闭卷发支架。
https://stackoverflow.com/questions/30763878
复制相似问题