Following IHP guide seeing: Web/Controller: getDirectoryContents:openDirStream: does not exist

161 Views Asked by At

This is all that I see on the loaded page at localhost:8001 after running ./start after following the Hello World instructions on https://ihp.digitallyinduced.com/Guide/installation.html:

Web/Controller: getDirectoryContents:openDirStream: does not exist (No such file or directory)
An exception was raised while running the action TablesAction

Has anyone come across this error before? I assume it's an error in the installation process rather than the project.

If it helps diagnose, installation took a long time. One section that warned it would take up to 30s took about ten minutes. It seemed unusual.

OS is Mac OS High Sierra.

1

There are 1 best solutions below

4
On BEST ANSWER

The long build time issue is sometimes related to not using the IHP cachix repo:

cachix use digitallyinduced

For the exception. Do you have other system versions of haskell installed? The troubleshooting page of the IHP documentation may be of use. You can try to make sure your system is loading .envrc file correctly. If you enter:

nix-shell --run 'make build/ihp-lib'

That may give a bit more information.