Open y-chen opened 1 year ago
3.1.0
When I run the command melos in the root of my repository I get the error
melos
/Users/<user>/.pub-cache/bin/melos: line 8: dart: command not found
I am using fvm that is working. I activated melos using
fvm
fvm dart pub global activate melos
My melos.yaml looks like
melos.yaml
name: my_app packages: - melos/apps/* - melos/packages/* sdkPath: .fvm/flutter_sdk
.fvm/flutter_sdk path exists in the repository.
.fvm/flutter_sdk
It work if I run fvm flutter pub global run melos.
fvm flutter pub global run melos
The error is thrown
melos command can find fvm sdk.
No response
because fvm dart isn't on your env path。 dart pub global melos then the melos need dart in env
Is there an existing issue for this?
Version
3.1.0
Description
When I run the command
melos
in the root of my repository I get the errorI am using
fvm
that is working. I activatedmelos
usingMy
melos.yaml
looks like.fvm/flutter_sdk
path exists in the repository.It work if I run
fvm flutter pub global run melos
.Steps to reproduce
fvm
melos.yaml
filefvm dart pub global activate melos
melos
The error is thrown
Expected behavior
melos
command can find fvm sdk.Screenshots
No response
Additional context and comments
No response