Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

HtmlDjango is not working #142

Open
Johan-Palacios opened this issue Aug 14, 2021 · 3 comments
Open

HtmlDjango is not working #142

Johan-Palacios opened this issue Aug 14, 2021 · 3 comments

Comments

@Johan-Palacios
Copy link

OS: WLS (Ubuntu)
Editor: Nvim 0.5

Hi, I installed with :LspInstall html the html server, but if I want to work with the autocomplete it not works

image

@gusvianadev
Copy link

I have a similar issue. I get the message Client 1 quit with exit code 1 and signal 0 when opening html, css or json files
I think it has something to do with the vscode servers

@Johan-Palacios
Copy link
Author

Its probably that is a problem with the servers, because Html LSP is enabled, but it not shows the autocomplete

@chris-av
Copy link

chris-av commented Oct 1, 2021

OS: Darwin/MacbookPro
Nvim 0.5

I have a similar issue. I get the message Client 1 quit with exit code 1 and signal 0 when opening html, css or json files I think it has something to do with the vscode servers

I get the same exact error, trying to figure this out myself. When I try look at the lsp logs it looks something like this:

[ ERROR ] 2021-09-30T21:18:28-0700 ] ...llar/neovim/0.5.0/share/nvim/runtime/lua/vim/lsp/rpc.lua:462 ]	"rpc"	"node"	"stderr"	"/Users/chrisvalenzuela/.local/share/nvim/lspinstall/css/vscode-css/css-language-features/server/dist/node/cssServerMain.js:1\n(()=>{\"use strict\";var e={7254:(e,t,n)=>{var r;n.r(t),n.d(t,{ClientCapabilities:()=>tn,CodeAction:()=>dn.CodeAction,CodeActionContext:()=>dn.CodeActionContext,CodeActionKind:()=>dn.CodeActionKind,Color:()=>dn.Color,ColorInformation:()=>dn.ColorInformation,ColorPresentation:()=>dn.ColorPresentation,Command:()=>dn.Command,CompletionItem:()=>dn.CompletionItem,CompletionItemKind:()=>dn.CompletionItemKind,CompletionItemTag:()=>dn.CompletionItemTag,CompletionList:()=>dn.CompletionList,Diagnostic:()=>dn.Diagnostic,DiagnosticSeverity:()=>dn.DiagnosticSeverity,DocumentHighlight:()=>dn.DocumentHighlight,DocumentHighlightKind:()=>dn.DocumentHighlightKind,DocumentLink:()=>dn.DocumentLink,DocumentSymbol:()=>dn.DocumentSymbol,FileType:()=>nn,FoldingRange:()=>dn.FoldingRange,FoldingRangeKind:()=>dn.FoldingRangeKind,Hover:()=>dn.Hover,InsertTextFormat:()=>dn.InsertTextFormat,Location:()=>dn.Location,\n\nSyntaxError: Unexpected token '.'\n    at Module._compile (internal/modules/cjs/loader.js:892:18)\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)\n    at Module.load (internal/modules/cjs/loader.js:812:32)\n    at Function.Module._load (internal/modules/cjs/loader.js:724:14)\n    at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)\n    at internal/main/run_main_module.js:17:11\n"

First error at the top is pointing me here $HOME/.local/share/nvim/lspinstall/css/vscode-css/css-language-features/server/dist/node/cssServerMain.js:

And it says Unexpected token '.'\n. So would this be an issue with the vs-code repo?

When I run :LspInstall css I don't get any errors. Only when I open the files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants