2014-08-28 50 views
6

我如何知道什麼使我的應用程序更新?我不斷收到'這個項目是最新版本,與您當前的軟件包限制兼容'。信息。Meteor 0.9.x更新

下面是從更新命令的輸出:

Refreshing package metadata. This may take a moment. 
Figuring out the best package versions to use. This may take a moment. 
Figuring out the best package versions to use. This may take a moment. 
Figuring out the best package versions to use. This may take a moment. 
This project is at the latest release which is compatible with your 
current package constraints. 

我packages.js看起來像這樣:

# Meteor packages used by this project, one per line. 
# 
# 'meteor add' and 'meteor remove' will edit this file for you, 
# but you can also edit it by hand. 

accounts-base 
accounts-password 
alanning:[email protected]=1.2.9 
arunoda:[email protected] 
ch-activity 
ch-activityreport 
ch-arrestreport 
ch-assetreport 
ch-citation 
ch-fieldinterviewreport 
ch-incidentreport 
ch-inspectionreport 
ch-location 
ch-media 
ch-narrative 
ch-organization 
ch-person 
ch-property 
ch-signature 
ch-vehicle 
cmather:[email protected] 
coffeescript 
copleykj:[email protected] 
d3 
dash-patrol 
email 
less 
mizzao:[email protected] 
mrt:[email protected]=0.3.3 
mrt:[email protected] 
mrt:[email protected] 
notices 
sacha:[email protected] 
standard-app-packages 
tsega:[email protected]=0.2.0 

我已經遷移所有的CH- *和* dash-包的新格式。這些都是本地應用程序包。那些不能在公共倉庫中。

回答

7

嘗試

iron:[email protected] 
在你的包文件

更換

cmather:[email protected] 

+0

謝謝。這解決了我的問題:從0.8開始的「流星更新」停在0.9.2。在這個提示之後,我已經正確更新到0.9.4,沒有任何問題。 – 2014-10-23 16:54:21

1

我想這可能是因爲如果你要檢查什麼包目前不兼容所有的包一起來看流星0.9.0 兼容輸入驗證碼:

meteor search (Package Name) 

通過只會默認流星返回兼容的包,所以你可以通過搜索每個包來找到哪些包不工作。如果找不到軟件包,那麼它可能不兼容,除非將其移除,否則無法運行最新版本的Meteor。

雖然不要擔心!雖然Meteor 0.9.0相當麻煩,但他們正在努力更新所有軟件包並修補錯誤。只要給它幾個星期自行排除,如果這不起作用:)

祝你好運!希望這可以幫到!

+0

'搜索'不是Meteor命令。見'流星 - 幫助'。 – ZuzEL 2014-09-09 09:12:11

+2

當然可以。你在Meteor 0.9.x嗎? – occasl 2014-09-10 21:51:05

+0

是的,我在0.9.1.1 – ZuzEL 2014-09-11 08:38:01

0

我發現我不得不刪除我的~/.npm目錄並再次運行meteor來解決我的一些npm依賴項。也許你也有一些npm的依賴關係?

1

流星搜索包含在最新版本中。文檔:http://docs.meteor.com/#meteorsearch

嘗試運行這個命令,你應該能夠訪問流星搜索

meteor update 

此外,更新應該告訴你,如果有一個包更新可用,雖然我還得跑更新(包名)對其進行更新

meteor update aldeed:collection2 
+0

有人可以解釋爲什麼這對我有用嗎?爲什麼我必須明確執行'meteor update packagename'? – 2015-07-20 09:30:05