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] enabling some lsp servers fails to build because of vscode-langservers-extracted #2051

Closed
1 task done
pinarruiz opened this issue Aug 21, 2024 · 3 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@pinarruiz
Copy link
Contributor

Field Description
Plugin lsp -> eslint, html, jsonls, cssls
Nixpkgs unstable (8a33541)
Home Manager 24.05 (e1391fb)
  • I have read the FAQ and my bug is not listed there.

Description

It seem the problem is with that upon enabling any of the servers that use vscode-langservers-extracted (as per plugins/lsp/language-servers/default.nix) makes the build process fail with:

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 (3435ms).
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 (4128ms).
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 (2361ms).
babel:
  ../resources/app/extensions/markdown-language-features/server/dist/node does not exist

Minimal, Reproducible Example (MRE)

Enabling any of the following will throw the error:

programs.nixvim.plugins.lsp = {
  enable = true;
  servers = {
    eslint.enable = true;
    html.enable = true;
    jsonls.enable = true;
    cssls.enable = true;
  };
}

I could not figure if this issue should be on NixOS/nixpkgs, but as I am using the package only for neovim, i figured it may belong here.

If any more feedback or config is required please let me know.

Thanks for your time.

@pinarruiz pinarruiz added the bug Something isn't working label Aug 21, 2024
@khaneliman
Copy link
Contributor

duplicate of #2043

@pinarruiz
Copy link
Contributor Author

duplicate of #2043

Hi @khaneliman,
Yeah i was coming here to close it as ypu where closing it, don't know how i didn't spot it -.-
Thanks anyway

@khaneliman
Copy link
Contributor

duplicate of #2043

Hi @khaneliman, Yeah i was coming here to close it as ypu where closing it, don't know how i didn't spot it -.- Thanks anyway

Np :)

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

2 participants