Closed purcell closed 4 years ago
I've spent the last 2-3 hours trying to get elm-mode working with my 0.19 project properly, but haven't been successful. Here's what I tried:
~/.spacemacs
file, as well as .dir-locals.el
as mentioned at https://github.com/jcollard/elm-mode/issues/138#issuecomment-416761616
elm-compile-command
elm-interactive-command
elm-package-command
elm-reactor-command
<home-dir>/.nvm/versions/node/v10.4.0/bin/elm
v6.11.1
v8.2.1
-> v10.4.0
system
default -> v10.4.0
node -> stable (-> v10.4.0) (default)
stable -> 10.4 (-> v10.4.0) (default)
iojs -> N/A (default)
lts/* -> lts/carbon (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.14.2 (-> N/A)
lts/carbon -> v8.11.2 (-> N/A)
npm uninstall elm@0.18
elm-make
, elm-package
, elm-repl
and elm-reactor
from ~/.nvm/versions/node/v10.4.0/bin
Nothing worked. My brain is fried.
Any help would be appreciated.
Please can you be more specific than "nothing worked"? What steps did you follow, what did you expect, and what happened instead?
Should we expect company-elm
to not work until this is resolved?
Should we expect
company-elm
to not work until this is resolved?
Yes, correct. See https://github.com/jcollard/elm-mode/issues/142 for the completion-specific side of things. It's not pretty.
I don't know if you get this often or not, but I just wanted to thank you for your hard work and dedication for working on this project. The whole elm-oracle
debacle looks like a mess and I am super glad that there is someone on the other side of things willing to tackle problems like these. :-)
Thanks, I appreciate it, but I should also caution that I haven't concretely tackled it yet. :-) It was frustrating to get elm-oracle
completion working so nicely with 0.18 only to have it break.
Nevertheless, it is a noble effort. I don't have much in the way of finances to remunerate you for your hard work, but I figured a word of encouragement wouldn't hurt. :-)
The 0.19 config is now the default. I no longer plan to pursue auto-configuration for older Elm versions.
As detailed in https://github.com/jcollard/elm-mode/issues/138#issuecomment-416761616, it's now largely possible to configure
elm-mode
for Elm 0.19 projects, but it would probably be better if this were auto-detected. In fact, the presence ofelm.json
vselm-package.json
should be enough of a clue in most cases.(Noting this here for future implementation by myself or another contributor.)