Hi !

Have you tried running `elm-make src/elm/Main.elm --output /dev/null` on 
your project ? 
I'm getting all kind of errors due to erroneous module naming all over the 
place.

in Main.elm you try to import Main.Types, but Types.elm lives in the root 
folder (src/elm) so it should be named Types in it's module declaration and 
when importing it from Main it should be import Types.
... and so on and so on

Maybe you used to have a Main folder at some point ? 


bottom line. Make sure your project can build on the command line, then I'm 
sure the atom plugin will be much more cooperative !

-magnus



On Thursday, 29 September 2016 11:24:30 UTC+2, Rupert Smith wrote:
>
> On Wednesday, September 28, 2016 at 4:42:32 PM UTC+1, OvermindDL1 wrote:
>>
>> It works fine for me (also get Atom's elmjutsu plugin, made by same 
>> person as linter-elm-make and they work wonderfully together).
>>
>> So first of all the src directory in elm-package.json should be as it 
>> normally is in elm-package.json, the root directory of all your elm source, 
>> mine for example is:
>> ```json
>>     "source-directories": [
>>         "web/elm"
>>     ],
>> ```
>> In linter-elm-make I also have 'Lint as you type' enabled, 'Always 
>> compile main' enabled (be sure to set your project main file(s) as per 
>> linter-elm-make instructions!  I.E. open the file, open command pallete, 
>> type 'main' and choose "Linter Elm Make: Set Main Paths".  With that it 
>> works wonderfully and real-time for me (and again, get elmjutsu).
>>
>
> Thanks for the advice. I tried all the above, also setting a 'work 
> directory'. It still doesn't work... perhaps I just need to add more stuff 
> to Main Paths? or can one even set /src/**/*.elm as the main path?
>
> Here is an example project set up with linter-elm-make that is not working:
>
> https://github.com/rupertlssmith/thesett_style_lab 
>

-- 
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.

Reply via email to