Closed thedeadkoiclub closed 6 years ago
Please check if the location of the executable (Settings/Packages/haskell-tools/Daemon-path) is set to the correct executable (ht-daemon). If this does not solve the issue, the problem might be related to permission settings. Please try running Atom in administrator mode or equivalent.
One should never have to execute Atom as root or sudo user. Has this been resolved yet?
@thedeadkoiclub, please check if these steps solved your issue. By the way, OS X is not officially supported, but I'm interested in if it actually works.
I had the same error (Ubuntu 16.04). I tried sudo atom
and setting file permissions at various places without success.
Then I changed the path. I first used
/home/till/.stack/snapshots/x86_64-linux/lts-9.21/8.0.2/bin
then tried
/home/till/.stack/snapshots/x86_64-linux/lts-9.21/8.0.2/bin/ht-daemon
Spawn EACCES is gone but now i get:
Unfortunately the server crashed, restarting after 1 s.
I think the correct path is /home/till/.stack/snapshots/x86_64-linux/lts-9.21/8.0.2/bin/ht-daemon
, because it should contain the name of the executable file.
Could you send the me the log produced when the server crashed? You can access it at the developer tools (Ctrl+Shift+i).
The server crash disappeared with using the most recent stack nightly. I think the issue can be closed. Maybe one should add examples to the settings window or check if the path is a directory.
[Enter steps to reproduce:]
Atom: 1.18.0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.5 Thrown From: haskell-tools package 0.7.0
Stack Trace
Uncaught Error: spawn EACCES
Commands
Non-Core Packages