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

[BUG] Error with vscode-langservers-extracted dependent lsp servers #2043

Closed
1 task done
Jahn16 opened this issue Aug 19, 2024 · 4 comments
Closed
1 task done

[BUG] Error with vscode-langservers-extracted dependent lsp servers #2043

Jahn16 opened this issue Aug 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Jahn16
Copy link

Jahn16 commented Aug 19, 2024

Field Description
Plugin lsp
Nixpkgs unstable
Home Manager unstable
  • I have read the FAQ and my bug is not listed there.

Description

When running home manager switch command I get this error. When I disable the html lsp server everything works as expected.

Error logs:

Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[BABEL] Note: The code generator has deoptimised the styling of /build/resources/app/extensions/css-language-features/server/dist/node/cssServerMain.js as it exceeds the max of 500KB.
Successfully compiled 1 file with Babel (3202ms).
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[BABEL] Note: The code generator has deoptimised the styling of /build/resources/app/extensions/html-language-features/server/dist/node/htmlServerMain.js as it exceeds the max of 500KB.
Successfully compiled 1 file with Babel (4205ms).
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Successfully compiled 1 file with Babel (2288ms).
babel:
  ../resources/app/extensions/markdown-language-features/server/dist/node does not exist

Minimal, Reproducible Example (MRE)

programs.nixvim = {
    enable = true;
    plugins = {
      lsp = {
        enable = true;
        servers = {
          html.enable = true;
        };
      };
    };
}
@Jahn16 Jahn16 added the bug Something isn't working label Aug 19, 2024
@LudovicoPiero
Copy link

Fixed on master.

@khaneliman
Copy link
Contributor

@khaneliman khaneliman changed the title [BUG] Error when html lsp server is enabled [BUG] Error with vscode-langservers-extracted dependent lsp servers Aug 21, 2024
@khaneliman
Copy link
Contributor

Resolved in #2056

@diwhybyyp
Copy link

You can do an overlay like this in the meantime. khaneliman/khanelivim@20eb893#diff-27dd021c4f89a0439b3385374e49548dc4ba692abef638d4ea852f56963901b0

Just in case someone has the same problem on NixOS. The given answer did not work for me in that form. I had to adjust the extensions path of the example to
"${prev.vscodium}/lib/vscode/resources/app/extensions"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants