Redstone Mapper卡在酒吧上

时间:2015-08-05 10:00:32

标签: dart redstone.dart

我在我的依赖项中添加了redstone_mappe r并运行pub get然后它停留在解析依赖项...

这是我的pubspec.yaml

name: sample
version: 0.0.1
description: SAMPLE
author: Joes
homepage: http://www.joes.com/
environment:
  sdk: '>=1.5.0 <2.0.0'
dependencies:
  appengine: '>=0.3.0 <0.4.0'
  browser: '>=0.10.0 <0.11.0'
  polymer: '>=0.16.0 <0.17.0'
  paper_elements: '>=0.7.0 <0.8.0'
  redstone: '>=0.6.0-beta.1 <0.7.0'
  redstone_mapper: '0.2.0-beta.1 <0.3.0'
  shelf: '>=0.6.0 <0.7.0'
  shelf_static: '>=0.2.0 <0.3.0'
  shelf_rpc: '>=0.0.0 <0.1.0'
  route_hierarchical: '>=0.6.0 <0.7.0'
  sass: '>=0.4.0 <0.5.0'
  dartson: '>=0.2.0 <0.3.0'
dev_dependencies:
  test: any
transformers:
  - sass/inlined_sass_transformer
  - dartson
  - polymer:
      entry_points: web/index.html
  - $dart2js:
      minify: true
      $exclude: bin/**.dart
      $include: '**/*.polymer.bootstrap.dart'
  - test/pub_serve:
      $include: test/**_test{.*,}.dart

当我使用redstone_mapper运行pub get时会发生这种情况,但没有redstone_mapper它可以正常工作

Joe's-Mac-mini:sample joe$ pub get
Resolving dependencies... (1:7.6s) 
Resolving dependencies... (1:9.4s) 
Resolving dependencies... (1:24.1s) 

1 个答案:

答案 0 :(得分:1)

redstone_mapper 0.2.0-beta.1test不兼容。但我还没有找到原因。我得到的错误消息也无济于事。

<强>更新
根据此消息,redstone_mapper似乎取决于过早的analyzer版本

Resolving dependencies... (2.0s) 
Incompatible version constraints on analyzer:
- redstone_mapper 0.2.0-beta.1 depends on version >=0.15.6 <0.23.0
- test 0.12.0-beta.2 depends on version >=0.23.0 <0.25.0

pubspec.yaml的GitHub回购中的redstone_mapper显示analyzer: '>=0.15.6 <0.26.0',这也允许0.25.0。 可能redstone_mapper部署了pubspec.yaml,但pub可能存在错误。

另见此未解决的问题https://github.com/redstone-dart/redstone_mapper/issues/10