elm-lang / elm-reactor

Interactive development tool that makes it easy to develop and debug Elm programs.
BSD 3-Clause "New" or "Revised" License
428 stars 63 forks source link

Error in JavaScript console when using Elm Reactor #198

Open bvanreeven opened 8 years ago

bvanreeven commented 8 years ago

I get an error in the JavaScript console when I try to use Elm Reactor to show my Elm program. The error message reads: Uncaught ReferenceError: _elm_lang$html$Html_Attributes$class is not defined

This issue seems to be caused by having two Elm files that both claim to define the same module. I don't know whether this is allowed or actually an error, but as a beginning Elm user I would expect a nice error message in that case and not a silent failure.

A reproduction for this issue can be found in this repository.

OS: Mac OS X 10.11.5 Browser: Chrome 51.0.2704.103 (64-bit) Elm: 0.17

process-bot commented 8 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.