2017-06-01 107 views
1

當我在命令下運行時遇到了以下錯誤;從1.4.4.2升級到1.4.4.3或更高版本時出錯

  1. meteor update --patch
  2. 運行命令meteor

錯誤

D:\test>meteor update --patch 

Changes to your project's package version selections from updating the 
release: 

accounts-base    upgraded from 1.2.17 to 1.3.0 
babel-compiler    upgraded from 6.18.2 to 6.19.1 
boilerplate-generator  upgraded from 1.0.11 to 1.1.0 
dynamic-import    added, version 0.1.0 
ecmascript     upgraded from 0.7.3 to 0.8.0 
ecmascript-runtime   upgraded from 0.3.15 to 0.4.1 
ecmascript-runtime-client added, version 0.4.1 
ecmascript-runtime-server added, version 0.4.1 
localstorage    upgraded from 1.0.12 to 1.1.0 
meteor-base    upgraded from 1.0.4 to 1.1.0 
minifier-js    upgraded from 2.0.0 to 2.1.0 
minimongo     upgraded from 1.0.23 to 1.2.0 
modules     upgraded from 0.8.2 to 0.9.0 
modules-runtime   upgraded from 0.7.10 to 0.8.0 
mongo      upgraded from 1.1.17 to 1.1.18 
promise     upgraded from 0.8.8 to 0.8.9 
reactive-dict    upgraded from 1.1.8 to 1.1.9 
standard-minifier-js  upgraded from 2.0.0 to 2.1.0 
webapp      upgraded from 1.3.15 to 1.3.16 

test: updated to Meteor 1.4.4.3. 

D:\test>meteor 
[[[[[ ~\D\test ]]]]] 

=> Started proxy. 
=> Meteor 1.5 is available. Update this project with 'meteor update'. 
=> Started MongoDB. 
=> Errors prevented startup: 

    While selecting package versions: 
    error: Potentially incompatible change required to top-level 
    dependency: meteor-base 1.0.4, was 1.1.0. 
    Constraints on package "meteor-base": 
    * [email protected] <- top level 
    * [email protected] <- top level 

    Potentially incompatible change required to top-level dependency: 
    dynamic-import 0.1.0-beta.20, was 0.1.0. 
    Constraints on package "dynamic-import": 

    To allow potentially incompatible changes to top-level dependencies, 
    you must pass --allow-incompatible-update on the command line. 

=> Your application has errors. Waiting for file change. 
+0

'''.meteor/pacakges''' ==>這裏指定了什麼版本? – blueren

+0

我有完全相同的問題。 – Juliomac

+0

@Juliomac:好朋友!我所做的是,我從機器上卸載了整個流星,再次重新安裝,將我的代碼轉移到新文件夾(使用流星創建 - 全項目創建)。現在!它工作正常。我沒有太多的時間來找到確切的原因或解決方案:(我做的很容易,需要幾分鐘。 –

回答

0

我已經注意到,更新包含打包"dynamic-import"

只是把它解決了問題。然後運行與:

meteor --allow-incompatible-update

但願這只是我做了這個補丁只是有點新的流星1.5推出後coincindence。我不知道這個包是否應該在這個版本中。

1

如果你更新到流星1.5與meteor update 一切都會按預期工作與0衝突 不要觸摸任何文件! 爲我工作試用它第一次更新,實際上不會破壞任何東西

相關問題