2017-06-01 106 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冲突 不要触摸任何文件! 为我工作试用它第一次更新,实际上不会破坏任何东西

相关问题