-
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
TypeError: Cannot read property 'symbol' of undefined in 'unknown' during 'completionInfo' #35036
Comments
I've been noticing this issue for the past few months (Windows), and have tried everything short of a reformat-- reinstalling, running in WSL, running my own Typescript version. Let me know if I can provide any information to help fix this. |
In my particular case it is a problem of firebase web. And its empty import...
in this point, autocomplete of tsserver crash. the solutions is to move the firebase into the |
I've just spent an hour trying to find a solution to this. Thanks @herberthobregon, indeed it was the Firebase SDK. For me the solution was even simpler. I just deleted the file |
@Markonis The problem is when you install another dependency on your project, |
@herberthobregon Makes total sense, thanks! 👌 What about just commenting that line in the file? |
I was experiencing "low performance" of autocomplete in vscode for a few weeks now, but it was only with a specific project. Today I realized it might be tsserver related, I turned on logs for the first time ever and this error popped up there. Now I know why, yes, Firebase is the culprit. Thanks a lot for finding this, saves a lot of nerves :)
Nevermind, it seems to be already fixed, just not released yet firebase/firebase-js-sdk#2379. |
This issue reproduced in the following context:
|
@Markonis it is exactly the same, when you reinstall another dependency it will rewrite the file. as I said before, you should wrap firebase in a local package so that it does not index typescript server. this is the temp solution 😪 |
This issue maybe has solved by #35504 |
@yamachu just FYI the nightly does indeed solve the issue with firebase SDK. |
Two things that would be helpful here:
|
This issue reproduced in the following context:
|
I have the same error in vscode when triggering intellisense at the end (EOL) of a word, the intellisense is not working anymore after the exception is throwed up |
This issue reproduced in the following context:
|
I think this is fixed now -- haven't seen any repros in over a month. |
Revised stack format and updated hash. |
This issue comes from crash dumps in telemetry. We've tried to de-duplicate issues on a best-effort basis, comparing the sequence of methods called and the command requested while ignoring line numbers.
TypeScript version prefix: 3.7.2
VSCode version: 1.40.0
Command requested: completionInfo
Hitting sessions: 644
Five line hash: f05606d1109b3c208a72950074c84f78
Stack:
The text was updated successfully, but these errors were encountered: