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

elm make "can't find file" that's there #304

Open ghost opened 4 years ago

ghost commented 4 years ago
$ ls
Main.elm
$ elm make Main.elm
-- FILE NOT FOUND --------------------------------------------------------------

You want me to compile this file:

    Main.elm

I cannot find it though! Is there a typo?

I suspect the cause of this problem is not using elm make from a directory with elm.json in it (that resolved the issue for me). If that's so, this hint would be useful in the error message.