babakcode / o3d

The Flutter 3D objects easy controller ( glb format )
https://pub.dev/packages/o3d
BSD 3-Clause "New" or "Revised" License
39 stars 15 forks source link

pubspec fails when adding o3d to project #4

Closed ueft-kyriv closed 10 months ago

ueft-kyriv commented 10 months ago

Getting this error on a brand new project:

$ flutter pub add o3d
Because o3d depends on o3d, version solving failed.
flutter pub get
Resolving dependencies...
Error on line 34, column 3 of pubspec.yaml: A package may not list itself as a dependency.
   ╷
34 │   o3d: 3.0.0
   │   ^^^
   ╵
Process finished with exit code 65
babakcode commented 10 months ago

Hi @ueft-kyriv, probably, your project name is o3d too. If your SDK version is lower than "3.1.3" then upgrade it or remove the o3d version and paste any instead of the version name.

ueft-kyriv commented 10 months ago

Geez now i feel like a numbnuts... Quick delete this...