While coding Haskell in emacs(stack installed with brew) on MacOS 10.12 I get the error:
Error while checking syntax automatically: (file-error "Searching for program" "no such file or directory" "stack")
My config file .emacs contains the following:
(require 'package)
add-to-list
'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(package-refresh-contents)
(package-install 'intero)
(add-hook 'haskell-mode-hook 'intero-mode)
Running with emacs --debug-init gives no errors.
Does somebody know how to solve this?
M-x toggle-debug-on-errorand try it again (--debug-initonly breaks into debugger on startup). 2. Are you surestackis in the path? Did you try running it from terminal?