본문 바로가기

CS/Error

pub get failed : A package may not list itself as a dependency

 

pub get failed : A package may not list itself as a dependency

 

보통 같으면 dependencies에 쓰고 pub get 해주면 되는데 왜 안돼 ........했는데

프로젝트 이름(video_player)과 dependencies에 쓴 이름이 같아서 안되는 거였다 ^ㅇ^.,

 

 

 

https://stackoverflow.com/questions/71871096/pub-get-failed-a-package-may-not-list-itself-as-a-dependency

 

pub get failed : A package may not list itself as a dependency

I'm having this problem in pubspec.yaml : here the pubspec.yaml : dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.2 pluto_grid: ^2.9.3 and here is the Error : [pluto_grid] flu...

stackoverflow.com

 

프로젝트 이름 변경하고 프로젝트 닫았다가 다시 열고 다시 dependencies 작업해줬더니 됐다!


Tiny Star