매우 이상한 문제가 있습니다. 이전에 새로운 종속성을 추가하는 데 몇 가지 종속성이 있지만 새로운 (이 특정 사례에서는 async_await
)을 추가하자마자 pub get
을 사용할 때 Incompatible version constraints on analyzer
오류가 발생합니다. 궁금한 점은 : async_await
은 호환되지 않는 제약이 아닙니다! Pub Error : 분석기의 호환되지 않는 버전 제약
Pub get failed, [1] Resolving dependencies... Incompatible version
constraints on analyzer:
- angular 1.0.0 depends on version >=0.15.0 <0.19.0
- di 3.3.1 depends on version >=0.15.0 <0.22.0
- redstone_mapper 0.1.1 depends on version >=0.13.0 <0.14.0
왜이 오류 쇼 I 제거하지 않습니다 async_await
업데이트
는 pub upgrade
을 실행하면 위치를 모든 버전의 제약 조건에 맞는 종속성 단지 정해진이 없습니다 또 다른 문제를
Resolving dependencies...
Incompatible version constraints on analyzer:
- angular 1.0.0 depends on version >=0.15.0 <0.19.0
- async_await 0.0.0 depends on version >=0.22.4 <0.23.0
Pubspec.yaml
name: aristadart
description: A sample web application
dependencies:
angular: 1.0.0
browser: any
di: any
fp: any
http: any
mongo_dart: any
redstone: any
redstone_mapper: any
redstone_mapper_mongo: any
shelf_static: any
transformers:
- redstone_mapper
- angular:
html_files:
- lib/components/login/login.html
- lib/components/login/nuevo_usuario.html
- lib/components/home/home.html
- lib/components/evento/evento.html
- lib/components/vista/vista.html
'pubspec.yaml'을 게시 할 수 있습니까 –
@ GünterZöchbauer 편집을 참조하십시오. –
제 답변에서'dependency_overrides'를 시도해 보았습니다. 그래도 오류가 발생합니까? –