fix: Melos is getting failed melos as globally activated doesn't support Dart 3.6.0.
Is there an existing issue for this?
- [x] I have searched the existing issues.
Version
6.3.2
Description
I am getting this issue and it is not running the melos build and melos l10n and melos sort
melos bootstrap [post] â””> melos build && melos l10n
ERROR: Can't load Kernel binary: Invalid kernel binary format version.
ERROR: FINE: Pub 3.6.0
ERROR: ERR : melos as globally activated doesn't support Dart 3.6.0.
|
| try:
| dart pub global activate melos to reactivate.
ERROR: FINE: Exception type: DataException
Steps to reproduce
melos bootstrap or melos build on the version 6.3.2
Expected behavior
it should run all the melos commands and to provide the success response
Screenshots
No response
Additional context and comments
No response
Other
- [ ] I'm interested in working on a PR for this.
Which Melos version does it print if you print melos --version outside of your repo? (So that it doesn't take the repo version)
melos 6.3.2
And did you try to reactivate it like it says in the instructions? Which version constraint do you have specified in your pubspec.yaml?
Same i specified in the pubspec.yaml
Same i specified in the pubspec.yaml
You only replied to one of the questions.
@Ajithadesso ?
yes i did reactivated also same issue
Can you post the output of all this, the full terminal output:
cd <your project>
flutter doctor
cat pubspec.yaml
melos --version
cd /
melos --version