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

Opening the HTML file results in an error. #20285

Open
1 task done
305088020 opened this issue Nov 6, 2024 · 0 comments
Open
1 task done

Opening the HTML file results in an error. #20285

305088020 opened this issue Nov 6, 2024 · 0 comments
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue

Comments

@305088020
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When I open an HTML file using Zed, I encounter the following error, and there is no code suggestion or formatting. Did I configure something incorrectly?

Language server error: vscode-html-language-server

EOF while parsing a value at line 1 column 0
-- stderr--
1730884784167

Environment

"lsp": {
"vscode-html-language-server": {
"settings": {
"html": { "tagAutoclosing": true }
}
},
"rust-analyzer": {
"initialization_options": {
"checkOnSave": {
// rust-analyzer.check.command (default: "check")
// "command": "clippy"
}
}
},
"eslint": {
"settings": {
"codeActionOnSave": {
"rules": ["import/order"]
}
}
}

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

2024-11-06T17:04:44.78393+08:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary:
{
"source": {
"uri": "file:///Users/hezi/work/demo/NodeJS/html-demo/index.js"
}
}
2024-11-06T17:04:49.148089+08:00 [ERROR] no cached binary
2024-11-06T17:04:49.148822+08:00 [INFO] fetching latest version of language server "tailwindcss-language-server"
2024-11-06T17:04:49.151608+08:00 [ERROR] Failed to start language server "tailwindcss-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:49.152138+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:49.464374+08:00 [ERROR] Failed to start language server "unocss-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:49.46499+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:49.74302+08:00 [ERROR] Failed to start language server "emmet-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:49.743405+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:49.78042+08:00 [ERROR] Failed to start language server "vscode-html-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:49.781011+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:53.089682+08:00 [ERROR] no cached binary
2024-11-06T17:04:53.091357+08:00 [INFO] fetching latest version of language server "tailwindcss-language-server"
2024-11-06T17:04:53.095544+08:00 [ERROR] Failed to start language server "tailwindcss-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:53.096096+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:53.960538+08:00 [ERROR] Failed to start language server "unocss-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:53.961488+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:55.075437+08:00 [ERROR] Failed to start language server "emmet-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:55.076198+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:55.386759+08:00 [ERROR] Failed to start language server "vscode-html-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:55.387246+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:56.566028+08:00 [ERROR] no cached binary
2024-11-06T17:04:56.566376+08:00 [ERROR] Failed to start language server "tailwindcss-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:56.56665+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:57.042352+08:00 [ERROR] Failed to start language server "unocss-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:57.042735+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:58.041637+08:00 [ERROR] Failed to start language server "emmet-language-server": EOF while parsing a value at line 1 column 0
2024-11-06T17:04:58.042126+08:00 [ERROR] server stderr: ""
2024-11-06T17:04:58.554879+08:00 [ERROR] Failed to start language server "vscode-html-language-server": EOF while parsing a value at line 1 column 0

@305088020 305088020 added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant