这就是我在按照 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 秒的部分花了大约 10 分钟。这看起来很不寻常。
操作系统是 Mac OS High Sierra。
最佳答案
构建时间过长的问题有时与不使用 IHP cachix 存储库有关:
cachix use digitallyinduced
对于异常(exception)情况。您是否安装了其他系统版本的 haskell? IHP 文档的故障排除页面可能有用。您可以尝试确保您的系统正确加载 .envrc 文件。如果您输入:
nix-shell --run 'make build/ihp-lib'
这可能会提供更多信息。
关于ihp - 按照 IHP 指南看到 : Web/Controller: getDirectoryContents:openDirStream: does not exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64343565/