gpt4 book ai didi

angular - angular_components,rpc和sqljocky之间的版本冲突

转载 作者:行者123 更新时间:2023-12-03 04:17:00 25 4
gpt4 key购买 nike

Dart中是否可以将angular_componentsrpcsqljocky包一起使用?我的软件包版本冲突,无法找到解决方法。

我正在使用Dart VM version: 1.23.0 (Fri Apr 21 03:13:00 2017) on "windows_x64"
。我可以获取所有依赖项的pubspec.yaml

name: Project
description: Some description
version: 0.0.1
author: me

environment:
sdk: '>=1.20.1 <2.0.0'

dependencies:
angular2: ^3.0.0
ng_bootstrap: ">=0.5.1"
angular_components: ">=0.5.0"
plotly: any
_discoveryapis_commons: ^0.1.0
crypto: ^2.0.0
http: ^0.11.1
http_server: ^0.9.5+1
logging_handlers: ^0.8.0
# rpc: ">=0.5.0"
csv: "^3.1.2"
# sqljocky: '>=0.14.1'
test: '>=0.12.20'

dev_dependencies:
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1

transformers:
- angular2:
platform_directives:
- 'package:angular2/common.dart#COMMON_DIRECTIVES'
platform_pipes:
- 'package:angular2/common.dart#COMMON_PIPES'
entry_points: web/main.dart
- dart_to_js_script_rewriter

但是,一旦我重新引入 rpcsqljocky(即删除它们前面的注释符号)并运行 pub get,我就会得到一个错误
Package dart_style has no versions that match >=0.2.10 <2.0.0 derived from:
- angular2 3.1.0-beta depends on version >=0.1.8 <2.0.0
- code_builder 1.0.3 depends on version >=0.2.10 <2.0.0

(对于 sqljocky)或 pub get无限期挂起,例如
[...]
inconsistent constraints on quiver:
uri 0.9.3 from hosted -> quiver >=0.17.0 <0.19.0 from hosted (quiver)
angular2 3.1.0 from hosted -> quiver >=0.21.4 <0.26.0 from hosted (quiver)
angular_components 0.5.1 from hosted -> quiver >=0.22.0 <0.26.0 from hosted (quiver)
version 0.9.2 of uri doesn't match >=0.9.3 <0.12.0:
rpc 0.5.6+3 from hosted -> uri >=0.9.3 <0.12.0 from hosted (uri)
version 0.9.1 of uri doesn't match >=0.9.3 <0.12.0:
rpc 0.5.6+3 from hosted -> uri >=0.9.3 <0.12.0 from hosted (uri)
[...]

(对于 rpc,为了便于阅读而对消息进行了编辑)。有什么建议么?

最佳答案

发布了新版本的package:uri,并对package:quiver施加了更大的限制,这应该可以解决此问题。

关于angular - angular_components,rpc和sqljocky之间的版本冲突,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44895831/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com