-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
TypeScript Server: canceled request with sequence number x #31817
Comments
What TypeScript version are you using in your workspace? Does it this still happen if you use TypeScript 3.5.1? |
The project I mainly work, the files are located on a remote server. When i created a copy locally it still displayed the above issue but after about 5 minutes it successfully initialized with full intellisense. |
How are you loading the files from the remote server? A network drive? Some other approach? |
Via a network drive |
I've left the intellisense running this morning when I got in today and it took about 30 minutes to fully initialize but it did and is now fully functional. Another issue I'm having (could be related to this issue) is that when I create a new file to it takes a long time to get any import intellisense, which slows down my development quite a bit. |
Is this a regression or has it always been this way? Also, can you try temporary removing any I also see you are opening a root folder on the |
The workspace I'm using is at output of output of Removing the |
Impossible to say what's going on without a concrete repro |
@RyanCavanaugh To provide full project intellisense, won't TS Server try to index the entire project? On a network drive, that could be very slow. I don't know if there's anything we can do to fix this unless we see that TS Server is being too eager in its indexing or something like that. @scrossan-crown Can you check your TS Server log to see if the server is picking up unexpected files or indexing too much:
Look through that log file for lists of project such as:
If you can share the log, we can also take a look to see if anything stands out
|
@mjbvz is it possible for me to send you this log somewhere other than github? Also It's only in the last couple of months that it's been this slow, before that it only took a minute or two to initialize. I'm happy to wait for the initial initialization but the biggest issue I face is when creating a new |
@scrossan-crown If they are not too large, you can email them to me: matb AT microsoft |
Closing this issue as out of date. If you are still seeing issue when using the latest TypeScript build, please open a new issue |
Had the same issue. For me, this worked:
|
@carltheperson Please open a new issue instead of resurrecting an old closed one like this |
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes and I've also tried it with vscode insiders
The text was updated successfully, but these errors were encountered: