使用 Elm 0.19.1 安装 NoRedInk/elm-decode-pipeline 时出错
Error on installing NoRedInk/elm-decode-pipeline with Elm 0.19.1
我正在研究 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 包。
我正在研究 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 包。