wendux / flutter_in_action_2

Flutter实战第二版随书源码

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter pub get 异常

stellar-deng opened this issue · comments

flutter pub get 异常

[gitme] flutter pub get
Running "flutter pub get" in gitme...
Resolving dependencies...
Because gitme depends on json_model from path which doesn't exist (could not find package json_model at "..\..\json_model"), version solving failed.
pub get failed
command: "D:\develop\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
  "FLUTTER_ROOT": "D:\develop\flutter",
  "PUB_ENVIRONMENT": "vscode.dart-code:flutter_cli:get",
  "PUB_CACHE": "C:\Users\user\AppData\Local\Pub\Cache",
}
exit code: 66

exit code 66

flukit:path: ../flukit/package_src替换成flukit: ^3.0.1,再get就能解决