Jerome-Saltmarsh / dart-lemon-engine

A simple canvas and game loop
Other
49 stars 2 forks source link

Problems when adding a package #4

Closed Dan-Crane closed 1 year ago

Dan-Crane commented 1 year ago

Hi) When adding a dependency to pubspec, I have to write the path to the git directly. Without this action, the error that version 0.5. does not exist occurred.

console:

Resolving dependencies... 
Because example_lemon depends on lemon_engine 0.5.0 which doesn't match any versions, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on lemon_engine: flutter pub add lemon_engine:^0.3.36
Jerome-Saltmarsh commented 1 year ago

I forgot to publish the latest version, thanks for letting me know.

The example project probably will break now with the latest version so I will have to fix that too.