Skip to content

esy install failing on Windows. #1048

@differentprogramming

Description

@differentprogramming
  • Operating System: Windows 10 Pro
  • Revery Version: Trying to install
  • OCaml version: trying to install
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions