Extension fails to load after upgrade to v0.6.0
See original GitHub issueEnvironment
- Elixir & Erlang versions (elixir --version): Elixir 1.10.3, Erlang/OTP 22
- VSCode ElixirLS version: v0.6.0
- Operating System Version: Linux (Ubuntu 16.04)
Troubleshooting
- Restart your editor (which will restart ElixirLS) sometimes fixes issues
- Stop your editor, remove the entire
.elixir_ls
directory, then restart your editor
- Create a new Mix project with
mix new empty
, then open that project with VS Code and open an Elixir file. Is your issue reproducible on the empty project? If not, please publish a repo on Github that does reproduce it. - Check the output log by opening
View > Output
and selecting “ElixirLS” in the dropdown. Please include any output that looks relevant. (If ElixirLS isn’t in the dropdown, the server failed to launch.) - Check the developer console by opening
Help > Toggle Developer Tools
and include any errors that look relevant.
Description
The extension fails to properly load after upgrading to v0.6.0. Syntax highlighting works but other features like autocompletion, navigation, deps fetching and PLT build do not work and the extension does not appear in the dropdown under View > Output
.
A Cannot find module 'shelljs'
error is printed in the DevTools console.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (2 by maintainers)
Top Results From Across the Web
I can't update this latest round of extensions
I have ran the updates, to complete and error free for all of these extensions multiple times in various ways (one at a...
Read more >universe:modules - Packosphere
File extensions and universe:modules-entrypoint package ... If after upgrade you got error RangeError: Maximum call stack size exceeded it can be caused by ......
Read more >Extension gd is missing from your system - laravel composer ...
I have installed php7, I did the following to solve exactly the same error sudo apt-get install php7.0-gd sudo apt-get install php7.0-intl sudo...
Read more >Failed to install provider after upgrading to Terraform 0.14
Error : Failed to install provider Error while installing hashicorp/aws v3.22.0: the current package for registry.terraform.io/hashicorp/aws ...
Read more >VMware Tanzu Kubernetes Grid 1.6 Release Notes
Upgrade. Upgrade fails for clusters created with the wildcard character ( * ) in TKG_NO_PROXY setting. TKG v1.6 does not ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
temporary solution, run
npm i
in~/.vscode/extensions/jakebecker.elixir-ls-0.6.0
Sorry about this! After investigating it looks like there were two issues, one was that I was hit by https://github.com/microsoft/vscode-vsce/issues/494 which caused the extension to not start because the dependencies were not installed. This issue could be worked around with https://github.com/elixir-lsp/vscode-elixir-ls/issues/145#issuecomment-703249412
The second issue was that I built the package with Elixir 1.10, and that caused the extension to not run on any project using an earlier elixir version which caused the
function ElixirLS.LanguageServer.CLI.main/0 is undefined
error.But the good new is that I just released v0.6.1 that fixes both those issues. Didn’t make a PR but this is the commit that bumps the version and adds a reminder to use the
.release-tool-versions
when publishing the extension: https://github.com/elixir-lsp/vscode-elixir-ls/commit/6ef324bbb9ed0e1889eca9471bfec57f4a60ce6a