Closed lkervran closed 5 months ago
Same thing happens btw if you run dart pub global activate very_good_cli
Same thing happens btw if you run
dart pub global activate very_good_cli
same error when running dart pub global activate mason_cli
I suspect it is because the win32 version did not get bumped with this change and it does not correctly resolve to a version that has those enums available.
Opened a PR for that version bump, trying to see if I can reproduce it now using the following command: dart pub global activate --source git https://github.com/felangel/mason --git-path packages/mason_logger --g it-ref a66ff5e3597e64e541c7a6fc0d7593e1cb23286b
but weirdly enough the master one also installs just fine so not sure if this is doable without a pubdev release 😅
FYI, it's using API's from the latest win32 package, which requires Dart 3.3.0. I think if you upgrade your Flutter installation to at least 3.19.0 it resolves the issue. But I can imagine that's not an option for everybody.
Sorry about that! Just published 0.2.14 to revert the change. Will publish 0.2.15 with the updated constraints now 👍 Let me know if you're still having issues, thanks!
Working fine now ! Thanks for the fix @felangel
Just published 0.2.15 of mason logger which includes the win32 upgrade but should only be pulled down if you have a compatible Flutter/Dart version now. If anyone is still facing any issues please let me know and thanks everyone for your help and patience! 💙
Description
Using the fvm package that has a dependency to your package make it's installation failed because of this error:
Seems related to this PR changes https://github.com/felangel/mason/pull/1286
Steps To Reproduce
Use flutter 3.16.7 Run
dart pub global activate fvm
Expected Behavior
fvm installed
Additional Context
Opened issue in fvm for more details: https://github.com/leoafarias/fvm/issues/717