Southclaws / vscode-styled-jsx-languageserver

Use autocomplete with styled-jsx 🦄
MIT License
0 stars 0 forks source link

Extension doesn't work at all #1

Closed arafatamim closed 3 years ago

arafatamim commented 4 years ago

The extension doesn't work. Actions like hovering, saving and trying to trigger completion fails with the following errors: I'm using VSCode on Linux.

Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: Debug Failure. Did not expect SourceFile to have an Identifier in its trivia
  Code: -32603

Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: Debug Failure. Did not expect SourceFile to have an Identifier in its trivia
  Code: -32603

(node:93780) UnhandledPromiseRejectionWarning: Error: Debug Failure. Did not expect SourceFile to have an Identifier in its trivia
    at addSyntheticNodes (/home/tamim/.vscode/extensions/southclaws.vscode-styled-jsx-languageserver-1.1.2/node_modules/typescript/lib/typescript.js:134835:30)
    at createChildren (/home/tamim/.vscode/extensions/southclaws.vscode-styled-jsx-languageserver-1.1.2/node_modules/typescript/lib/typescript.js:134824:9)
    at SourceFileObject.NodeObject.getChildren (/home/tamim/.vscode/extensions/southclaws.vscode-styled-jsx-languageserver-1.1.2/node_modules/typescript/lib/typescript.js:134768:56)
    at walk (/home/tamim/.vscode/extensions/southclaws.vscode-styled-jsx-languageserver-1.1.2/server/out/styled-jsx-utils.js:47:14)
    at findStyledJsxTaggedTemplate (/home/tamim/.vscode/extensions/southclaws.vscode-styled-jsx-languageserver-1.1.2/server/out/styled-jsx-utils.js:73:5)
    at Object.getStyledJsx (/home/tamim/.vscode/extensions/southclaws.vscode-styled-jsx-languageserver-1.1.2/server/out/styled-jsx-utils.js:127:40)
    at /home/tamim/.vscode/extensions/southclaws.vscode-styled-jsx-languageserver-1.1.2/server/out/styled-jsx-server-main.js:128:44