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

Ellie app crashes for code that runs locally #71

Closed
jhf opened this issue Nov 8, 2018 · 1 comment
Closed

Ellie app crashes for code that runs locally #71

jhf opened this issue Nov 8, 2018 · 1 comment

Comments

@jhf
Copy link

jhf commented Nov 8, 2018

The following Ellie snippet [1], using elm-style-animation [2], crashes in Ellie when it's being run.
The error message is

Exception Thrown in Output
ReferenceError: Can't find variable: Elm

However, when creating the same files locally, it compiles and runs correctly.
After some clarifications, I don't think that using elm-style-animation is important,
however, i think there is a bug in Ellie, because it should give a compilation error message,
if Elm fails to compile, or Elm should be defined in the javascript.

[1] https://ellie-app.com/3QfgN3mP6fva1
[2] https://package.elm-lang.org/packages/mdgriffith/elm-style-animation/4.0.0

@tbash
Copy link
Member

tbash commented Dec 27, 2018

This is due to Ellie compiling with --debug and is a known issue of the compiler in certain situations, this being one of them.

An issue exists for the compiler here: elm/compiler#1851

Another exists for a suggested temporary solution for elm-style-animation: mdgriffith/elm-style-animation#67.

Duplicate of #67

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

2 participants