When i run:
flutter pub global list
i get: fvm 2.4.1
but when i run fvm i get the error: Cannot find file at '..\lib\fvm\bin\fvm.exe' (C:\ProgramData\chocolatey\lib\fvm\bin\fvm.exe). This usually indicates a missing or moved file.
i have tried running some commands on the cmd:
flutter pub cache clean flutter pub global deactivate fvm flutter pub global activate fvm
still nothing works
Also when i locate the folder on the path above, the fvm\bin is empty
What could be the problem
The point is that you tried to install fvm in two ways:
choco install fvmdart pub global activate fvmNow what my recommendation is. Remove your second option with:
dart pub global deactivate fvm
and try installing this package via choco. You will also need to add this location to the environment variables in path (or the location your fvm will install to):
C:\ProgramData\chocolatey\lib\fvm\bin\
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With