1

我成功地使用流星部署我的项目。但是,现在我将项目的所有内容都复制到了一个新目录中,当我运行时出现mup deploy此错误:

    Meteor Up: Production Quality Meteor Deployments
    ------------------------------------------------

Building Started: /Users/taylorchamberlain/meteor/dfss
Problem! This project does not have a .meteor/release file. The file should
either contain the release of Meteor that you want to use, or the word 'none'
if you will only use the project with unreleased checkouts of Meteor. Please
edit the .meteor/release file in the project and change it to a valid Meteor
release or 'none'.

我检查了一下,我的 .meteor/release 文件和以前完全一样。上面写着:METEOR@1.1.0.2。我尝试将其更改为noneand 'none',并尝试运行流星update --release METEOR@1.1.0.2,但这些都不起作用。我的项目在本地主机上运行良好。什么可能导致此错误?

4

1 回答 1

2

由于您将项目移动到了新目录,因此您需要将 mup.json 文件中的应用程序路径更改为新目录。

于 2015-10-06T04:32:13.030 回答