elm - 使用 Elm 0.19.1 安装 NoRedInk/elm-decode-pipeline 时出错
问题描述
我正在研究 elmprogramming.com 上的一个示例,并且一直在安装该elm-decode-pipeline
软件包。特别是当我
elm install NoRedInk/elm-decode-pipeline
我收到以下消息
-- CANNOT FIND COMPATIBLE VERSION ------------------------------------- elm.json
I cannot find a version of NoRedInk/elm-decode-pipeline that is compatible with
your existing dependencies.
也许这是因为 Elm 从 0.19.0 迁移到 0.19.1?或者我做错了什么?我elm.json
的是
{
"type": "application",
"source-directories": [
"src"
],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"elm/browser": "1.0.2",
"elm/core": "1.0.2",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3"
},
"indirect": {
"elm/bytes": "1.0.8",
"elm/file": "1.0.5",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm/virtual-dom": "1.0.2"
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}
我应该怎么做才能安装软件包?谢谢你的帮助!
解决方案
它只是移动了。包裹现在在NoRedInk/elm-json-decode-pipeline
。
不过,你绝对不能因为困惑而受到责备。包文档中没有表明这一点,只有源代码存储库的描述中,也没有迹象表明旧包仅适用于 0.18。不幸的是,这只是目前包生态系统的状态,修复它似乎没有太多优先级。
确保您拥有适用于 0.19 的包的最佳方法是在包站点上搜索它。那里弹出的所有内容都应该适用于 0.19,因为您必须使用不同的搜索来搜索 0.18 包。
推荐阅读
- java - 由于无法解析端点而导致的 Apache camel cron 错误:cron
- php - 不能在 Laravel 中使用 Illuminate\\Http\\JsonResponse 类型的对象作为数组
- ios - 使用 UIScreen 获取屏幕宽度以自动适应内容?
- javascript - Webhook 比较问题中的 Instamojo 消息身份验证代码
- html - How to 'href' to the element even to the top margin of each div?
- python - 将数据集从 google drive 上传到 google colab
- mysql - Mysql将行转换为具有varchar值的列
- arabic - 导出为 PDF 时,有什么方法可以从右到左开始我的阿拉伯语文本
- unit-testing - 是否可以从 SonarQube 未发现的行中排除变量?
- python - 关闭窗口时 Python Turtle 显示错误