Skip to content

/launch.sh: line 73: exec: elixir: not found in Mac OS #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
freewebwithme opened this issue Jan 10, 2023 · 4 comments
Closed

/launch.sh: line 73: exec: elixir: not found in Mac OS #31

freewebwithme opened this issue Jan 10, 2023 · 4 comments

Comments

@freewebwithme
Copy link

freewebwithme commented Jan 10, 2023

Hello.
I am trying ton setup Sublime text 4 for elixir.
I installed ElixirSyntax, LSP and LSP - Elixir package
But I got this error

lsp-elixir: /Users/myname/Library/Caches/Sublime Text/Package Storage/LSP-elixir/server/0.12.0/launch.sh: line 73: exec: elixir: not found

My elixir is in this directory

/Users/myname/.asdf/shims/elixir

And in Sublime Console, I triged

import os;
os.environ["PATH"]

'/Users/myname/.asdf/shims/elixir:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki'

It seems like `elixir` in correct path.

Can you guys help me?
What am I missing here?
Any thought?
@princemaple
Copy link
Collaborator

Hi, first thing first, have you tried restarting sublime? 😊

@freewebwithme
Copy link
Author

@princemaple Thanks for the advice, Yes, Of course, I even restart the computer

@princemaple
Copy link
Collaborator

princemaple commented Jan 10, 2023

elixir-lsp/elixir-ls#408 probably this? elixir being installed by a different user from the one that tries to run it. Or your shell has some weird configurations...

@princemaple
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants