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] /usr/bin/env: „bash“: File or directory not found #511

Closed
4 tasks done
Leptopoda opened this issue Mar 24, 2023 · 0 comments
Closed
4 tasks done

[BUG] /usr/bin/env: „bash“: File or directory not found #511

Leptopoda opened this issue Mar 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Leptopoda
Copy link

Leptopoda commented Mar 24, 2023

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
fvm can't proxy commands leading to both fvm dart and fvm flutter not working.
It throws something like:

/usr/bin/env: „bash“: File or directory not found

All fvm commands like fvm use, fvm update, fvm config work fine.

Running .fvm/flutter_sdk/bin/flutter works fine and I've already debugged all parts of my environment and shell I know of 🤔

To Reproduce
Steps to reproduce the behavior:

  1. Go to terminal..
  2. Run fvm flutter $command or fvm dart $command

Expected behavior
the respective flutter or dart command get`s called

Logs

FVM Version: 2.4.1


FVM config found:


Project: xxx
Directory: xxx
Version: 3.7.7@stable
Project Flavor: None selected


Version is currently cached locally.

Cache Path: /home/$user/fvm/versions/3.7.7@stable
Channel: false
SDK Version: 3.7.7

IDE Links
VSCode: .fvm/flutter_sdk
Android Studio: $projectDir/.fvm/flutter_sdk

Configured env paths:


Flutter:
/usr/bin/flutter

Dart:
/usr/bin/dart

FVM_HOME:
not set

Desktop (please complete the following information):

  • OS: Arch linux (happens on both aur build and the pub cache)
  • FVM Version 2.4.1
  • If Windows: Which Powershell are you using? n.a.

Additional context
running /usr/bin/env bash works fine launching a bash shell

@Leptopoda Leptopoda added the bug Something isn't working label Mar 24, 2023
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