elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.52k stars 661 forks source link

terminal/src/Develop/StaticFiles.hs:91:3: error: Exception when trying to run compile-time code: reactor: changeWorkingDirectory: does not exist #2318

Open juhp opened 10 months ago

juhp commented 10 months ago

Quick Summary: When I try to build elm with cabal-install on Linux I run into:

terminal/src/Develop/StaticFiles.hs:91:3: error:
    • Exception when trying to run compile-time code:
        reactor: changeWorkingDirectory: does not exist (No such file or directory)
      Code: (bsToExp =<< runIO Build.buildReactorFrontEnd)
    • In the untyped splice:
        $(bsToExp =<< runIO Build.buildReactorFrontEnd)
   |
91 |   $(bsToExp =<< runIO Build.buildReactorFrontEnd)
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Maybe I am doing it wrong?

SSCCE

Additional Details

Both with ghc-8.10 and ghc-9.4

github-actions[bot] commented 10 months ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.

juhp commented 10 months ago

I found https://github.com/input-output-hk/haskell.nix/issues/1617 helpful

juhp commented 10 months ago

Is the any proper way to bootstrap elm?