从1.4.4.2升级到1.4.4.3或更高版时出错

时间:2017-06-01 09:32:28

标签: meteor

当我在命令下面运行时遇到以下错误;

  1. meteor update --patch
  2. ran command meteor
  3. 错误

    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":
       * meteor-base@1.0.4 <- top level
       * meteor-base@1.0.4 <- 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.
    

2 个答案:

答案 0 :(得分:2)

如果您使用meteor update更新到meteor 1.5,一切都将按预期工作,并发生0冲突。 别碰任何文件! 为我工作,第一次更新实际上没有破坏任何东西。

答案 1 :(得分:1)

我注意到更新包含了包"dynamic-import"

刚拿出来解决了这个问题。然后运行:

meteor --allow-incompatible-update

这可能只是一个巧合,我在新的Meteor 1.5推出后稍微制作了这个补丁。我想知道这个软件包是否应该在这个版本中。