You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install melos, by running dart pub global activate melos:
Package melos is currently active at version 6.3.2.
Downloading packages... .
The package melos is already activated at newest available version.
To recompile executables, first run `dart pub global deactivate melos`.
Installed executable melos.
Activated melos 6.3.2.
@hpelitebook745G2 I am not using fvm but had a similar problem so this is not fvm specific, but it can be specific to using multiple flutter/dart versions for global tools installations.
I solved it by deleting the project local .dart_tool folder that had one melos snapshot installed. Hope it helps, basically rm -rf .dart_tool or rm the snapshot specifically.
@hpelitebook745G2 I am not using fvm but had a similar problem so this is not fvm specific, but it can be specific to using multiple flutter/dart versions for global tools installations.
I solved it by deleting the project local .dart_tool folder that had one melos snapshot installed. Hope it helps, basically rm -rf .dart_tool or rm the snapshot specifically.
This worked for me !!
I am using asdf to manage flutter versions
Before creating a bug report please make check the following
pub cache repair
. Close the terminal and try again.administrator
or withdeveloper
permissions.fvm doctor
if possible and add the output to the issue.Describe the bug
I installed
fvm
andmelos
(globally), and once I ranflutter pub cache clean
, and then reinstalledmelos
, I can no longer use it.To Reproduce
Steps to reproduce the behavior:
fvm
, by running:which fvm
:melos
, by runningdart pub global activate melos
:echo $PATH
:melos -v
in the root of my monorepo:/Users/testdev/.pub-cache/bin
and indeed there is notmelos.dart
but rather a melos Unix Executable File:Logs
fvm doctor
result:Possible connected issue
The text was updated successfully, but these errors were encountered: