Is this a known issue? I have some code that works fine when I run it with
elm-reactor, but when I try to compile it with elm-make and load the
index.html file into the browser I get a blank screen and a couple of
JavaScript console errors:
index.html:8729 Uncaught TypeError: Cannot read property 'appendChild' of
nullrealHtmlHeight @ index.html:8729(anonymous function) @ index.html:8706
_user$project$Plot$vbounds
@index.html:11093(anonymous function) @ index.html:11514(anonymous
function) @ index.html:11677
index.html:11678 Uncaught ReferenceError: Elm is not defined
The error seems to be produced by the "evancz/elm-graphics" package, as
there is where the "realHtmlHeight" is located. It could be because I am
trying to read the height of an empty element, but what is puzzling me is
that it works with elm-reactor.
Should not both the standalone and elm-reactor either succeed or fail?
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.