我成功地使用meteor来部署我的项目。但是,现在我已经将项目的所有内容复制到一个新目录中,当我运行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。我试着把它改成none和'none',我试着运行meteor update --release METEOR@1.1.0.2,但是这些都不起作用。我的项目在本地主机上运行良好。是什么导致了这个错误?
发布于 2015-10-06 04:32:13
因为您将项目移动到一个新目录,所以需要将mup.json文件中的应用程序路径更改为新目录。
https://stackoverflow.com/questions/32961508
复制相似问题