遵循以下IHP指南:Web /控制器:getDirectoryContents:openDirStream:不存在

问题描述

这是我按照https://ihp.digitallyinduced.com/Guide/installation.html上的Hello World指令运行./start后在加载的页面上在localhost:8001上看到的所有内容

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

有人之前遇到过此错误吗?我认为这是安装过程中而不是项目中的错误

如果可以帮助诊断,则安装会花费很长的时间。有人警告说,可能需要30秒才能完成,大约需要十分钟。看来不寻常。

OS是Mac OS High Sierra。

解决方法

构建时间长的问题有时与不使用IHP cachix存储库有关:

cachix use digitallyinduced

例外。您是否已安装其他系统版本的haskell? IHP文档的故障排除页面可能有用。您可以尝试确保系统正确加载了.envrc文件。如果输入:

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

这可能会提供更多信息。