haskell - GHC.PackageDb.readPackageDb:不合适的类型(没有足够的字节)
问题描述
当我尝试使用 调用我的项目时stack ghci
,我收到以下错误消息:
~/haskell/timermachine stack ghci
Received ExitFailure 1 when running
Raw command: /home/developer/.stack/programs/x86_64-linux/ghc-8.6.5/bin/ghc-pkg-8.6.5 --user --no-user-package-db --package-db /home/developer/.stack/snapshots/x86_64-linux/51bdc2ae2d954d767f3325ff96f951609c3c121fc399b49b2efc9de026a236ec/8.6.5/pkgdb dump --expand-pkgroot
Standard error:
ghc-pkg: /home/developer/.stack/snapshots/x86_64-linux/51bdc2ae2d954d767f3325ff96f951609c3c121fc399b49b2efc9de026a236ec/8.6.5/pkgdb/package.cache: GHC.PackageDb.readPackageDb: inappropriate type (not enough bytes)
我的堆栈版本:
stack ghc -- --version
The Glorious Glasgow Haskell Compilation System, version 8.6.5
我究竟做错了什么?
解决方案
推荐阅读
- java - 试图将此活动转换为android studio中的片段,到目前为止还没有运气
- julia - 如何使用具有不同成员的集合作为索引?
- ruby-on-rails - 发生 Chage Rails 版本冲突后,Bundler 找不到 gem 的兼容版本
- javascript - useState 设置方法不会立即反映更改
- android - 如何以编程方式更新 Android 中的联系人图像?
- cheerio - 如何使用 Cheerio 获取 html 的所有元素内容?
- php - 如何在 Wordpress 主题页面上集成 SteveMorse.org PHP 数据库
- google-api - 如何跳过仅在沙盒模式下工作的 Google API 项目的验证过程?
- python - Python Numpy 数组索引和屏蔽
- babeljs - 防止 babel 类属性插件覆盖我生成的构造函数