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

elm-review hangs in new project #137

Closed
wise-tim opened this issue Aug 23, 2023 · 6 comments
Closed

elm-review hangs in new project #137

wise-tim opened this issue Aug 23, 2023 · 6 comments

Comments

@wise-tim
Copy link

Follow up from https://elmlang.slack.com/archives/C010RT4D1PT/p1692789314256189

I ran elm-review in my Lamdera app on apple-silicon and it hangs with no output

Here is the output from elm-review --debug:

`elm-review --debug
Starting review application build
-- CONFIGURATION COMPILATION ERROR ---------------------------------------------

I encountered a problem when solving dependencies:

elm-json exited with signal SIGKILL

(empty stderr)
Error: I encountered a problem when solving dependencies:

elm-json exited with signal SIGKILL

(empty stderr)
at /opt/homebrew/lib/node_modules/elm-review/lib/template-dependencies.js:50:13
at /opt/homebrew/lib/node_modules/elm-review/lib/template-dependencies.js:291:29
at async Object.getOrCompute (/opt/homebrew/lib/node_modules/elm-review/lib/cache.js:13:18)
at async Promise.all (index 0)
at async createTemplateProject (/opt/homebrew/lib/node_modules/elm-review/lib/build.js:315:43)
at async Promise.all (index 1)
at async buildLocalProject (/opt/homebrew/lib/node_modules/elm-review/lib/build.js:160:25)
at async runElmReview (/opt/homebrew/lib/node_modules/elm-review/lib/main.js:50:51)`

Thanks for you help!

@jfmengels
Copy link
Owner

Thank you for the issue!
Can you tell me which version of Mac OS you're running? Is it an older version maybe? I know that on Monterey and older there are some issues running elm-json.

Also, can you tell me what the version of elm-json is? If you installzd elm-review locally, then elm-json should be in your node_modules (either directly or under elm-review I believe).

@wise-tim
Copy link
Author

wise-tim commented Aug 26, 2023

Apologies for the delay:

I am running Ventura 13.3 on an M1
I couldn't find elm-json anywhere in node-modules, but when I npm i elm-json I get version 0.2.13

Running npx elm-json tree also hangs... which lead me to find this elm-json issue zwilias/elm-json#54 that looks like it could describe my problem too. I think this, and the linked (but now expired) slack thread is what I recalled seeing earlier.

There is an open pull request that may fix it
https://github.com/zwilias/elm-json/pull/55/files

I might try and build elm-json from source to see if it works for me.

@wise-tim
Copy link
Author

Please feel free to close this issue if you think it is appropriate.

@jfmengels
Copy link
Owner

Fixed by #144 👍

@timwisefmg
Copy link

Thankyou! Time to do some reviewing!

@jfmengels
Copy link
Owner

You should be able to try it out using the latest beta npm install elm-review@beta. Please open an issue if you notice a problem 😊

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

3 participants