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

A request has failed. See the output for more information. #492

Open
Lnncoco opened this issue Aug 11, 2021 · 3 comments
Open

A request has failed. See the output for more information. #492

Lnncoco opened this issue Aug 11, 2021 · 3 comments
Labels
needs info testing Running test using LSP

Comments

@Lnncoco
Copy link

Lnncoco commented Aug 11, 2021

Describe the bug
deno v1.12.2 extension v3.8.0

image
A request has failed. See the output for more information.

To Reproduce
任意ts文件,输入中文,或者中文英文切换着输入的时候, 出现的比较随机 但印象往往都有带中文或者中文符号的时候

[Error - 上午11:22:44] Request textDocument/codeLens failed.
Message: Internal error
Code: -32603
{"type":"mark","name":"code_lens","count":2167,"args":{"textDocument":{"uri":"file:///d%3A/Project/deno-test/modules/semver.ts"}}},
{"type":"mark","name":"get_line_index_sync","count":5993,"args":{"specifier":"file:///D:/Project/deno-test/modules/semver.ts"}},
{"type":"measure","name":"get_line_index_sync","count":5993,"duration":0},
{"type":"mark","name":"get_navigation_tree","count":2167,"args":{"specifier":"file:///D:/Project/deno-test/modules/semver.ts"}},
Error getting code lenses for "file:///D:/Project/deno-test/modules/semver.ts": failed to send request to tsc thread
[Error - 上午11:22:44] Request textDocument/codeLens failed.
Message: Internal error
Code: -32603

@kitsonk kitsonk added the bug Something isn't working label Aug 11, 2021
@kitsonk
Copy link
Contributor

kitsonk commented Aug 11, 2021

There are some known issues with editing documents with high surrogate pairs, as the text diffing library has an issue with it (dtolnay/dissimilar#5).

Would it be possible to get the text of a file just as the error occurs? I assume it occurs at you are typing in the document?

@Lnncoco
Copy link
Author

Lnncoco commented Aug 11, 2021

yes, Input mixed Chinese characters and English characters . not every time

@bartlomieju
Copy link
Member

Is this still reproducible with latest Deno version?

@bartlomieju bartlomieju added needs info testing Running test using LSP and removed bug Something isn't working labels Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info testing Running test using LSP
Projects
None yet
Development

No branches or pull requests

3 participants