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

Improving error messages: When Elm is not found #11

Closed
jwoLondon opened this issue Dec 8, 2018 · 2 comments
Closed

Improving error messages: When Elm is not found #11

jwoLondon opened this issue Dec 8, 2018 · 2 comments
Labels
enhancement New feature or request priority/p1

Comments

@jwoLondon
Copy link
Member

If there has been a problem installing Elm as part of Litvis, trying to preview a litvis document that contains some elm generates this error message:

spawn elm ENOENT (litvis:elmp-environment)

We should replace this with a more friendly message, especially as this is most likely to occur when using Litvis for the first time. I suggest

I am having trouble finding Elm on your machine. Is it installed? Check by opening a terminal window and typing "elm --version" (without quotation marks). If you have recently installed Elm, try restarting your machine.
@jwoLondon jwoLondon added the enhancement New feature or request label Dec 8, 2018
@kachkaev
Copy link
Member

This makes sense and is doable. The only mini-challenge I'm in the middle of solving is to make ENOENT errors non-cachable (this would be an exceptional case).

@kachkaev
Copy link
Member

As it turns out, I’ve already had a mechanism of expiring working directories with temporary elm projects. This issue should be fixed now on master and will be available to users with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/p1
Projects
None yet
Development

No branches or pull requests

2 participants