Skip to content
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

WSL - reinstall not working #98

Open
cvkmohan opened this issue Jul 23, 2024 · 11 comments
Open

WSL - reinstall not working #98

cvkmohan opened this issue Jul 23, 2024 · 11 comments

Comments

@cvkmohan
Copy link

image
I uninstalled and reinstalled the extension. However, it shows executable not found. How do I force it to download it again? Any number of reinstalls is not helping.

@mhanberg
Copy link
Contributor

Have you changed the installation directory of next LS in the settings?

@cvkmohan
Copy link
Author

No. No change. In fact I found the nextls executable in ~/.cache/elixir-tools/nextls/bin - I deleted it and reinstalled - no use. Similarly, I found ~/.vscode-server/elixir-tools where the vscode installation. I tried removing that folder and reinstalling. In both cases the executable is neither downloaded nor could be located.

@mhanberg
Copy link
Contributor

can you show what the permissions are on that directory? the cache dir one

@cvkmohan
Copy link
Author

image

@mhanberg
Copy link
Contributor

sorry, i meant on ~/.cache/elixir-tools and also the sub folders, I can't tell what they are from the screenshot

@cvkmohan
Copy link
Author

image
All folders have the same permission. So, I thought names will not be necessary. My bad.

@mhanberg
Copy link
Contributor

thanks, have you tried deleting ~/.cache/elixir-tools or have you just deleted the actual nextls binary?

@cvkmohan
Copy link
Author

I deleted the entire folder. It is not getting created. So, I created - and - then downloaded the binary and kept in place. Still, vscode extension is not recognizing this.

@mhanberg
Copy link
Contributor

Hmm, very odd.

I think based on the logs, it is basically hanging when it tries to make that directory.

Just covering my bases, have you completely quit vscode and reopened, and potentially restart your computer?

@cvkmohan
Copy link
Author

Yes. Though it is WSL - belongs to Windows family. So, yes - tried that. In the screenshot - the force nextls download flag is false. Is there any way I can set it to true? Or not needed?

@mhanberg
Copy link
Contributor

That is just for when the builtin auto updater inside nextls is buggy and i need a way to tell the extension to reinstall it.

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