ihp - 按照 IHP 指南看到:Web/Controller: getDirectoryContents:openDirStream: 不存在
问题描述
这就是我在 localhost:8001 加载页面上看到的所有内容,在遵循https://ihp.digitallyducing.com/Guide/installation.html上的 Hello World 说明后运行 ./start :
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
对于例外。你有安装其他系统版本的haskell吗?IHP 文档的故障排除页面可能有用。您可以尝试确保您的系统正确加载 .envrc 文件。如果您输入:
nix-shell --run 'make build/ihp-lib'
这可能会提供更多信息。
推荐阅读
- github-pages - 在多个html页面之间同步静态站点上的代码?
- python - 使用Python访问DirectShow创建和使用Virtual Camera(Software Only Camera)
- javascript - 如何将令牌有效负载的“user_id”放入 JSON POST 表单?Django REST、simpleJWT、Vue3
- r - R重塑从宽到长:多个变量,具有多个指标的观察
- python - Git 从 python 脚本中拉取
- sql-server - 无法在 Visual Studio 2019 中部署 SSAS 表格模型
- javascript - 将自定义事件升级到全局站点标签 - 在 Google Analytics 中
- html - 当子项高度设置为自动时,Flexbox 限制子项高度
- qt - 从文件夹加载所有 QML
- python - 删除字符串后面的数字组中的空格