-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
esy install failing on Windows. #1048
Comments
I tried installing an older version of reperf, same error
|
Mine also failed to install on Windows 10, I was able to install the OS: Windows 10
|
I've ran into this error before; I removed the _esy (in the project) and .esy (in your home folder) directories and it worked after that. Also make sure you're running |
I do have visual studio 2017 installed
After various false starts I got as far as typing
"esy install" in an admin prompt in the revery cloned directory and it got as far as:
.... fetching reperf@1.5.0esy: internal error, uncaught exception:
Unix.Unix_error(Unix.EACCES, "rename", "C:\local\revery\_esy\default\tmp\esy-ce1b63")
Raised at file "esy-lib/RunAsync.re", line 13, characters 2-51
Re-raised at file "esy-lib/RunAsync.re", line 13, characters 2-51
Re-raised at file "src/core/lwt.ml", line 2999, characters 20-29
Called from file "src/unix/lwt_main.ml", line 26, characters 8-18
Called from file "esy-lib/Cli.re", line 264, characters 9-28
Called from file "cmdliner_term.ml", line 25, characters 19-24
Called from file "cmdliner.ml", line 25, characters 27-34
Called from file "cmdliner.ml", line 116, characters 32-39
Before that I installed npm
found that "npm install -g windows-build-tools" failed when my antivirus reports "PowerShell tried to load a malicious resource detected as Heur.BZC.ZFV.Boxter.6008.E5DBFDF9 and was blocked. Your device is safe." - and changing its settings won't stop it from blocking.
But then I noticed that you had a an alternative way to install.
"choco install visualstudio2017buildtools visualstudio2017-workload-vctools -y"
I tried that and it installed visualstudio2017buildtools but balked at visualstudio2017-workload-vctools.
So I tried again from an admin prompt but it claimed that visualstudio2017-workload-vctools was already installed.
So I tried "choco upgrade -y visualstudio2017-workload-vctools --force"
then I went back to the normal prompt and tried. "esy install"
That failed with something I don't see in the scrollback about tar not being able to create a symlink.
So I tried it again in the admin prompt and here I am at
.... fetching reperf@1.5.0esy: internal error, uncaught exception:
Unix.Unix_error(Unix.EACCES, "rename", "C:\local\revery\_esy\default\tmp\esy-c99678")
Raised at file "esy-lib/RunAsync.re", line 13, characters 2-51
Re-raised at file "esy-lib/RunAsync.re", line 13, characters 2-51
Re-raised at file "src/core/lwt.ml", line 2999, characters 20-29
Called from file "src/unix/lwt_main.ml", line 26, characters 8-18
Called from file "esy-lib/Cli.re", line 264, characters 9-28
Called from file "cmdliner_term.ml", line 25, characters 19-24
Called from file "cmdliner.ml", line 25, characters 27-34
Called from file "cmdliner.ml", line 116, characters 32-39
The text was updated successfully, but these errors were encountered: