melos icon indicating copy to clipboard operation
melos copied to clipboard

fix: Melos is getting failed melos as globally activated doesn't support Dart 3.6.0.

Open Ajithadesso opened this issue 3 months ago • 8 comments

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.

Ajithadesso avatar Oct 07 '25 13:10 Ajithadesso

Which Melos version does it print if you print melos --version outside of your repo? (So that it doesn't take the repo version)

spydon avatar Oct 07 '25 13:10 spydon

melos 6.3.2

Ajithadesso avatar Oct 07 '25 13:10 Ajithadesso

And did you try to reactivate it like it says in the instructions? Which version constraint do you have specified in your pubspec.yaml?

spydon avatar Oct 08 '25 12:10 spydon

Same i specified in the pubspec.yaml

Ajithadesso avatar Oct 08 '25 12:10 Ajithadesso

Same i specified in the pubspec.yaml

You only replied to one of the questions.

spydon avatar Oct 08 '25 12:10 spydon

@Ajithadesso ?

spydon avatar Oct 17 '25 23:10 spydon

yes i did reactivated also same issue

Ajithadesso avatar Oct 20 '25 11:10 Ajithadesso

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

spydon avatar Oct 21 '25 12:10 spydon