Closed brainlid closed 8 years ago
Getting the same message when saving a file.
me too
Same here
It seems that new atom update has changed a lot and the plugin isn't working as it should be. I'll take a look at it in free time.
Thanks for a good call guys! On 29 Oct 2015 18:32, "Jarro Put" notifications@github.com wrote:
Same here
— Reply to this email directly or view it on GitHub https://github.com/wende/autocomplete-elixir/issues/30#issuecomment-152258702 .
Have the same issue on Windows 10
Have the same problem here... Confirm that a clean install starts failing after updating to 1.1.0.
I notice that the erl.exe process (I'm using Windows 8.1) starts using a lot of CPU for a few seconds at program start, and when I quit Atom, the erl.exe process remains running, I have to kill it by force.
@wende I'm still new-ish to Elixir and Atom, but I'd be happy to help fix this if there is something I can do to help. I'm impressed and happy with your project. I'd love to be able to use it again.
facing the same issue here.
The issue is really just a documentation issue. Open your config and add this under "*"
:
"autocomplete-elixir":
erlangHome: "/usr/local/bin"
elixirPath: "/usr/local/bin"
Note: Change the paths to where erlang and elixir are installed on your system
I can confirm that this fixes it for me.
This can be set through the autocomplete-elixir package's settings. Initially I put in a full path to the binary (not a folder). There were no visible errors. When I opened Atom's Developer Tools, I saw errors flying by about the path I gave it not being a directory.
For my Arch Linux system, the correct paths for both are "/usr/bin".
Then it all works.
So I think the "fix" could be two things, a documentation update and possibly some UI showing an error if the directory provided isn't a directory.
I tried the suggestion. I modified the config.json file in atom setting to this
"autocomplete-elixir": erlangHome: "C:\Program Files\erl7.0\bin" elixirPath: "C:\Program Files(x86)\elixir\bin"
but atom kept crashing. I could not work with it so I had to remove the lines completely.
The error message is still popping up.
Please look at this and offer practical suggestions. I really appreciate
this worked for me (OSX, elixir installed with homebrew): Open Config, changed:
"autocomplete-elixir":{}
to:
"autocomplete-elixir":
erlangHome: "/usr/local/bin"
elixirPath: "/usr/local/bin"
@davidmoshal thanks!
For newcomers to atom/elixir like me, select the atom package named "Autocomplete Elixir" and scroll down, you'll see the Elixir Path and Erlang Home listed there. add /usr/bin or /usr/local/bin as per your settings (I'm using OSX)
I have the exact problem happenning @smithaitufe
I was able to resolve it later by using this
"autocomplete-elixir": erlangHome: "C:/Program Files/erl7.0/bin" elixirPath: "C:/Program Files (x86)/elixir/bin"
That is if you are using Windows. It help me. Make sure those paths are in your system environment path variable. Will be waiting for your response
Thank you! @smithaitufe I tried, and it's constantly crashing... How did you solve the crashing problem?
@potterdai: remember to restart atom. It worked for me. In fact, I am enjoying the autocomplete.
@potterdai: remember to indent the last two lines that sets the paths for erlang and elixir and be sure that erlang and elixir are installed in that very location. Sorry for the stress. Do get back to me
@smithaitufe not sure why but after reboot my laptop it worked! Thank you very much! = )
@potterdai:I am glad you got it solved. Enjoy elixir.
@davidmoshal That worked for me. Thank you!
What file specifically needs to be changed in Ubuntu? I can't find any in .config/atom that refer to elixir and I have installed the plugin and get the errors others above report
@simonh1000 Mine was in ~/.atom/config.cson.
I found the correct folders by running
dirname `which erl`
So maybe this could be incorporated as a method of autodetecting where erlang is when the configuration is absent?
The error message "Erlang home configuration setting missing" is displayed when just saving an .html file. When launching the autocomplete in an elixir file, the error is also displayed.
Error is here...
Atom Version: 1.0.19 System: "Arch Linux" Elixir: 1.1.1 autocomplete-elixir: 1.4.2 Thrown From: autocomplete-elixir package, v1.4.2
Stack Trace
Uncaught TypeError: Cannot read property 'write' of null
Commands
Config
Installed Packages