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
Hi I am currently encountering an issue when trying to install mason_cli package using fvm.
I had to add the pub-cache path as well in order to find the mason_cli, but now it seems that it can't find dart that is used inside the cli tool (so from mason, when mason get is called).
So i was wondering if the correct paths are provided when setting up fvm during the action for pub-cache and dart?
part of my github workflow
- name: 📚 Git Checkoutuses: actions/checkout@v4
- name: 🐦 Setup Flutter Version Management CLIuses: flutter-actions/setup-fvm@v1
- name: 🐦 Install Flutter SDKrun: echo yes | fvm use ${{ matrix.flutter-version }}
- name: 🐦 Print Flutter SDK versionrun: | fvm flutter --version
- name: Add pub cache to PATHrun: | echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH <-- this I already added and I was able to run mason after that.
- name: 🧱 Mason makerun: | fvm dart pub global activate mason_cli mason get mason make my_template
And the error I get
...
Installed executable mason.
Activated mason_cli 0.1.0-dev.57.
/home/runner/.pub-cache/bin/mason: 8: dart: not found
The text was updated successfully, but these errors were encountered:
Hi I am currently encountering an issue when trying to install mason_cli package using fvm.
I had to add the pub-cache path as well in order to find the mason_cli, but now it seems that it can't find dart that is used inside the cli tool (so from mason, when mason get is called).
So i was wondering if the correct paths are provided when setting up fvm during the action for pub-cache and dart?
part of my github workflow
And the error I get
The text was updated successfully, but these errors were encountered: