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] Can not install FVM at Chcolatey in Windows #542

Closed
4 tasks done
curogom opened this issue Jul 3, 2023 · 2 comments
Closed
4 tasks done

[BUG] Can not install FVM at Chcolatey in Windows #542

curogom opened this issue Jul 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@curogom
Copy link

curogom commented Jul 3, 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 installation fails using chocolatey in windows.

To Reproduce
Steps to reproduce the behavior:

  1. Go to powershell (run as Admin)..
  2. Run choco install fvm...
  3. Check...
  4. See error

Expected behavior
Install Success

Logs
Please check photo
image

Desktop (please complete the following information):

  • OS: Windows
  • FVM Version 2.4.1
  • If Windows: Which Powershell are you using? Powershell as Admin

Additional context
Add any other context about the problem here.

@curogom curogom added the bug Something isn't working label Jul 3, 2023
@curogom
Copy link
Author

curogom commented Jul 12, 2023

With Flutter registered as a system environment variable within Windows, it is confirmed that there is a problem when installing fvm. In my case, the installation proceeded normally when the environment variable of the previously installed Flutter was removed and reinstalled. I don't know the detailed cause, but please check it.

@curogom curogom closed this as completed Jul 12, 2023
@patriksh
Copy link

patriksh commented Aug 30, 2023

(edited): Had the same problem, a fix was to completely remove old Flutter installation BUT to then install Dart SDK via Chocolatey, before attempting to install FVM.

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

2 participants