elm / error-message-catalog

A catalog of broken Elm programs / data to improve error messages
BSD 3-Clause "New" or "Revised" License
173 stars 17 forks source link

"UNEXPECTED EFFECT MODULE" error message points to a 404 #289

Closed danabrams closed 5 years ago

danabrams commented 5 years ago

The error message given by the compiler when trying to create an effect module points to a URL that returns a 404.

The link provided is "https://elm-lang.org/0.19.0/effect-modules".

evancz commented 5 years ago

In the development build, it is giving the following error message:

-- BAD MODULE DECLARATION --------------------------------------------- temp.elm

I cannot parse this module declaration:

1| effect module SSCCE exposing (sscce)
                       ^
This type of module is reserved for the @elm organization. It is used to define
certain effects, avoiding building them into the compiler.

I initially thought there was more to say about it, but when I actually sat down to write it up, I felt like this was everything I wanted to say about it.

So this should be resolved in Elm 0.19.1 and above.