当前位置:网站首页>flutter pub get failed (66; Could not find a file named “pubspec.yaml“

flutter pub get failed (66; Could not find a file named “pubspec.yaml“

2022-06-10 00:48:00 Bright like water

Preface

Recently changed flutter plug-in unit , Delete a plug-in locally , The running error is as follows :

Could not find a file named "pubspec.yaml" in "/Applications/flutter_3.0.1/.pub-cache/git/xxx_plugins-a304c8876b16195bb6a416aa4bb780476ca0d6a5/flutter_twitter_login".
pub get failed (66; Could not find a file named "pubspec.yaml" in "/Applications/flutter_3.0.1/.pub-cache/git/xxx_plugins-a304c8876b16195bb Xi xi xi 6a416aa4bb780476ca0d6a5/flutter_twitter_login".)

resolvent :

1、 open Finder, choice - Go to — Go to folder —
2、 The input path is as above /Applications/flutter_3.0.1/.pub-cache
3、 Delete .pub-cache Folder
4、 Re execution flutter pub get
5、 Just run it again

END.

原网站

版权声明
本文为[Bright like water]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206092339275783.html