2015-10-06 20 views
0

我成功地使用流星來部署我的項目。但是現在,我抄我的項目的所有內容到一個新的目錄,當我運行mup deploy我得到這個錯誤:Meteor Up「這個項目沒有.meteor/release文件。」

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文件是,正是因爲它以前一樣。它的內容如下:[email protected]。 我試着將它更改爲none'none',我試着運行流星update --release [email protected]但這些都不起作用。我的項目在本地主機上運行良好。什麼可能導致這個錯誤?

回答

1

由於您已將項目移至新目錄,因此需要將mup.json文件中的應用程序路徑更改爲新目錄。