Open mrpinsky opened 7 years ago
Hi @mrpinsky! I was not able to reproduce the error :-( Can you provide a sample project that I can test? Thanks!
Also, did putting back the elm-package.json
file fix it?
Hmm...I cloned my project, reproduced the error, got rid of extraneous files for sharing, and couldn't reproduce it anymore. I can now move elm-package.json
around as much as I want, and it handles everything fine.
In the original project, I kept elm-package.json
at the top level of the project, then set the linter's working directory and my source-directories
to src/elm
(where all the Elm files were already), and that solved all the issues I was having. No more dealing with temp files.
Thanks for your work on this!
Hi! The package will only create temp files if Work Directory
is not set and Lint On The Fly
is checked. I'm guessing you have Lint On The Fly
checked since temp files were being created. I would only recommend setting Work Directory
if you have a big enough project to minimize the time it takes the package to copy the files.
Atom: 1.14.3 x64 Electron: 1.3.13 OS: Mac OS X 10.11.6 Thrown From: linter-elm-make package 0.22.5
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/var/folders/09/5zhm6xjx5gq135ncsk2kld180000gp/T/linter-elm-make6752357rbyETe0xd8/src/elm/modules/App.elm'
Commands
Non-Core Packages