-
Notifications
You must be signed in to change notification settings - Fork 190
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
"could not load module" errors at startup #130
Comments
Worked around by adding to build/ihp-lib/applicationGhciConfig:
|
Hey, thanks for reporting! :) Can you quickly run these commands and let me know the output: direnv status
echo $PATH
which ghci |
Hi @mpscholten,
|
This looks as expected. Can you try to run |
Just to document this for the future: This problem was just reported again in Gitter. It seems related to the local ghc installation in |
I've also just encountered this, fixed my moving |
Maybe there's some GHC flag to disable loading files from In the meantime we could try to add this to the auto troubleshooting script, so atleast people can help themselves in case this issue happens :) |
@mpscholten There is: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/packages.html#ghc-flag--package-env%20%E2%9F%A8file%E2%9F%A9|%E2%9F%A8name%E2%9F%A9 There is also:
I'm not exactly sure the responsibility of each file, do all four of them need to be configured? |
Looks good :) Does this then still load the package env provided by nix? For the dev server the DevServer.hs will do it. We should also add it to We could also add it to the Makefile (https://github.com/digitallyinduced/ihp/blob/master/lib/IHP/Makefile.dist#L64) in case someone wants to e.g. build the binaries locally. |
Starting |
Makes sense. In that case we can likely just ignore the |
Thank you, this is awesome!
But I hit trouble while following correct (I believe) install procedure, on a mac:
The text was updated successfully, but these errors were encountered: