Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deadlock with malformed elm.json #2334

Open
bukzor opened this issue Aug 23, 2024 · 2 comments
Open

deadlock with malformed elm.json #2334

bukzor opened this issue Aug 23, 2024 · 2 comments

Comments

@bukzor
Copy link

bukzor commented Aug 23, 2024

SSCCE

$ echo '{}' > elm.json
$ elm make
Dependencies ready!
-- MISSING FIELD ------------------------------------------------------ elm.json

I ran into a problem with your elm.json file. I ran into some trouble here:

^C^C
exit code: 130
duration: 39.235 seconds

This command never completes and has to be forced to quit.

  • Elm: 0.19.1
  • Browser: n/a
  • Operating System: MacOS: Darwin 23.4.0 arm64
Copy link

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.

@bukzor
Copy link
Author

bukzor commented Aug 23, 2024

I had the same issue (elm tries to error but never does) with these elm.json:

{
  "elm-version": "0.19.1",
  "source-directories": [
    "."
  ],
  "dependencies": [],
  "type": "application"
}
{
  "elm-version": "0.19.1",
  "source-directories": [
    "."
  ],
  "dependencies": null,
  "type": "application"
}
{
  "elm-version": "0.19.1",
  "source-directories": [
    "."
  ],
  "dependencies": {},
  "type": "application"
}
{
  "elm-version": "0.19.1",
  "source-directories": [
    "."
  ],
  "dependencies": {
    "direct": false
  },
  "type": "application"
}
{
  "elm-version": "0.19.1",
  "source-directories": [
    "."
  ],
  "dependencies": {
    "direct": {},
    "indirect": {}
  },
  "test-dependencies": {},
  "type": "application"
}
{
  "elm-version": "0.19.1",
  "source-directories": [
    "."
  ],
  "dependencies": {
    "direct": {
      "elm/core": true
    },
    "indirect": {}
  },
  "test-dependencies": {
    "direct": {},
    "indirect": {}
  },
  "type": "application"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant