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 when lsp html server is enabled #2044

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

[BUG] Error when lsp html server is enabled #2044

Jahn16 opened this issue Aug 19, 2024 · 1 comment
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 the 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
@Jahn16 Jahn16 changed the title [BUG] <BUG> [BUG] Error when lsp html server is enabled Aug 19, 2024
@MattSturgeon
Copy link
Member

Duplicate of #2043

@MattSturgeon MattSturgeon marked this as a duplicate of #2043 Aug 19, 2024
@MattSturgeon MattSturgeon closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
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