MordFustang21 / ide-gopls

Atom integration with the Go language server (gopls)
MIT License
13 stars 5 forks source link

Error: spawn gopls ENOENT; gopls language server for Go unable to start #13

Closed josevelaz closed 2 months ago

josevelaz commented 3 years ago

Steps to reproduce:

  1. After ide-gopls is functional, close Atom
  2. Relaunch Atom

After launching Atom: Screen Shot 2020-09-11 at 10 06 42 AM

To Fix, I need to uninstall ide-gopls and install again

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 450.0 USDT (450.0 USD @ $1.0/USDT) attached to it.

MordFustang21 commented 3 years ago

@josevelaz Sorry this is a little old but what OS are you on?

Pretty sure this is a MacOS issue where the ENV is loaded properly when launching via spotlight, launchpad, or applications. I've created a PR to add /usr/local/bin to the env so that it hopefully gets found. https://github.com/MordFustang21/ide-gopls/pull/15

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 265 years, 8 months from now. Please review their action plans below:

1) mordfustang21 has applied to start work _(Funders only: approve worker | reject worker)_.

Pretty sure I've fixed this as the maintainer. Please just donate this money to Girls Who Code or Code.org.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 450.0 USDT (450.00 USD @ $1.0/USDT) attached to this issue has been cancelled by the bounty submitter

tetrahedronix commented 2 years ago

@josevelaz Sorry this is a little old but what OS are you on?

Pretty sure this is a MacOS issue where the ENV is loaded properly when launching via spotlight, launchpad, or applications. I've created a PR to add /usr/local/bin to the env so that it hopefully gets found. #15

I'm using Linux. I solved the problem with a symbolic link to /usr/local/bin. Thank you for your suggestion

yonderblue commented 1 year ago

On macOS I had to add ~/go/bin into my path