Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Bad substitution in when calling global packages #782

Open
4 tasks done
dickermoshe opened this issue Sep 16, 2024 · 0 comments
Open
4 tasks done

[BUG] Bad substitution in when calling global packages #782

dickermoshe opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dickermoshe
Copy link
Contributor

Before creating a bug report please make check the following

  • You have read our FAQ
  • If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
  • If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
  • Run fvm doctor if possible and add the output to the issue.

Describe the bug
In the docs it describes how to setup flutter and dart to call fvm dart and fvm flutter under the hood.
https://fvm.app/documentation/guides/running-flutter#call-sdk-directly

If you wish to reroute flutter and dart calls to FVM, i.e., ensure that running flutter on the terminal internally runs fvm flutter, then you could run the below commands....

To Reproduce
Steps to reproduce the behavior:

  1. Follow the guide to setup flutter > fvm flutter
  2. Instal a global package. e.g melos
  3. Run the package. e.g. melos

Expected behavior
Work Normally

Logs

mick@MD-LAPTOP-1:~/newdrift$ melos
/home/mick/.local/bin/dart: 1: Bad substitution

Desktop (please complete the following information):

  • OS: Ubunut
  • FVM Version 3.2.1
  • If Windows: Which Powershell are you using? N/A

Additional context
N/A

@dickermoshe dickermoshe added the bug Something isn't working label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant