I'm trying to install FVM with choco install fvm
and getting an error as can be seen in the image link.
It says the installation is complete BUT when I try to run fvm
I get the following 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 copied the fvm.exe
file from C:\ProgramData\chocolatey\bin
into C:\ProgramData\chocolatey\lib\fvm\bin\fvm.exe
but it didn't solve the problem.
dart
command is working properly, so I can say it was successfully installed through the proccess, but fvm wasn't.
My PATH env variables are like this
I tried going through the installation proccess all over again, including readding the path variables, but it didn't work. Also rebooted the computer a couple of times through the proccess but I can't seem to find an answer to this specific problem nor did I find the solution, can you guys please help? I can provide extra info if needed.
Generate-BinFile
). You can see that on the last two lines of thechocolateyInstall.ps1
file. However, based on the output in the image you provide, it seems like the compile step is failing - but the shim is being added anyway. You would need to troubleshoot why fvm is failing to compile on your system, and the package should then successfully "install". Have you tried an older version of the fvm package, to ensure it's not a issue with the latest version? – Waylin