json_model icon indicating copy to clipboard operation
json_model copied to clipboard

执行packages get的时候报错

Open GanZhiXiong opened this issue 6 years ago • 1 comments

image

json_serializable ^2.0.0, json_serializable ^2.0.0 is required. So, because flutter_dayi depends on json_serializable ^3.0.0, version solving failed. pub get failed (1)

你可能需要升级你的json_serializable版本了

GanZhiXiong avatar Jul 01 '19 03:07 GanZhiXiong

我同时引用了json_serializable和json_annotation的最新版本,也是报类似这样的错;然后把版本号降到2.0.X,还是不行。

Because every version of json_model depends on json_annotation ^2.2.0 and web_socket depends on json_annotation ^3.0.0, json_model is forbidden.

So, because web_socket depends on json_model ^0.0.2, version solving failed.

bluecapricorn avatar Aug 30 '19 06:08 bluecapricorn