damienlevin / GoTests-Emacs

Emacs package for https://github.com/cweill/gotests
20 stars 3 forks source link

Searching for program: No such file or directory, gotests #3

Closed chrisalcantara closed 2 years ago

chrisalcantara commented 5 years ago

Getting this error running Emacs 26.2 on macOS 10.12.6.

I placed the gotests.el file in my .emacs.d/ folder and I get the above error when I run gotests-region.

gotests does run for me on the command line.

shackra commented 2 years ago

this probably because Emacs did not inherited the PATH variable.

What's the value of PATH inside Emacs? (run (getenv "PATH") somewhere to check)

chrisalcantara commented 2 years ago

I've since solved this issue by ensuring Emacs could read the PATH variable.