Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

Add incorrectly named files as potential problem for ModuleNotFound e…#163

Open
oniskanen wants to merge 1 commit into
elm-lang:masterfrom
oniskanen:master
Open

Add incorrectly named files as potential problem for ModuleNotFound e…#163
oniskanen wants to merge 1 commit into
elm-lang:masterfrom
oniskanen:master

Conversation

@oniskanen

Copy link
Copy Markdown

…rror

This will help debug elm-make error when importing a module MyModule and the filename isn't MyModule.elm

Example of the current error where this addition might help:

elm-css src/main.elm
I cannot find module 'MyModule'.

Module 'Main' is trying to import it.

Potential problems could be:
  * Misspelled the module name
  * Need to add a source directory or new dependency to elm-package.json
( * File name does not match the module name )

@process-bot

Copy link
Copy Markdown

Thanks for the pull request! 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.

@alex-tan

alex-tan commented Aug 9, 2017

Copy link
Copy Markdown

Seems like "File name does not match the module name" should replace "Misspelled the module name" as they're the same thing, right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants