我正在尝试在Intellij中创建Elm项目。为此,我使用了相当标准的elm-package.json文件:
{
"version": "1.0.0",
"summary": "helpful summary of your project, less than 80 characters",
"repository": "https://github.com/user/project.git",
"license": "BSD3",
"source-directories": [
"."
],
"exposed-modules": [],
"dependencies": {
"elm-lang/core": "5.1.1 <= v < 6.0.0",
"elm-lang/html": "2.0.0 <= v < 3.0.0"
},
"elm-version": "0.18.0 <= v < 0.19.0"
}
我正在尝试加载该项目,并遇到以下故障:
org.elm.workspace.ProjectLoadException: The 'type' field is 'null', but expected either 'application' or 'package'
该“类型”字段似乎没有任何文档!它是什么?我在哪里放置?更重要的是,当我使用elm-package install创建json文件时,为什么不与其余json文件一起生成??