Cannot setup Flutter with melos and FVM #2634
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduce1 . Use We have configured the step as recommended: - &install_melos
name: Install Melos
script: |
ln -s $FLUTTER_ROOT $CM_BUILD_DIR/.fvm/flutter_sdk
dart pub global activate melos
melos bootstrap Expected resultsThe Actual resultsmelos.yaml: SDK path is not valid. Could not find dart tool at /Users/builder/clone/.fvm/flutter_sdk/bin/dart Build failed :| Build id (optional)669642b0612f74af82a0590e |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @alberto-sf,
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your response @alberto-sf. |
Beta Was this translation helpful? Give feedback.
Hello @alberto-sf,
From the logs,
ln: /Users/builder/clone/.fvm/flutter_sdk: No such file or directory
. I see it's not fetching the directory. Can you try to echo$FLUTTER_ROOT
, you should see the output using the snippet below: