-
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
vscode stuck on Initializing JS/TS language features on Apple Silicon. #51927
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.1. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
I think you may have attached the wrong log file. Can you please try uploading it again? |
@mjbvz my bad sorry, re-attaching the file on this comment as well with the issue |
Thanks. Do completions and other IntelliSense feature work when you see the initializing indicator? |
Hey @mjbvz, unfortunately they don't work when this is visible |
Looks like the last message in the log is:
This suggests that TS may be trying to load the project when it gets stuck but it's hard to tell since nothing else is logged. Any ideas @sheetalkamat? |
@sheetalkamat let me know if you need any further logs from my end. Thanks. |
Are you still able to repro this issue. In the logs I see that tsserver is getting notifcation that file: |
I'm still facing the same issue. I won't be able to share the source code for this project as this is for the company I'm working with (upGrad). However, I'll create a new project with the same configuration and will share it with you this weekend. Hope that's okay with you. |
Our entire development team suffer from this issue as well. Not sure its related to Apple Silicon or not, but our setup is different as its pnpm monorepo (e.g without babel). |
Any solution to the issue? I am having the same issue and it is breaking everything ... It keeps spinning and stopping 'Initializing JS/TS language features' I reinstalled the Vscode, moved to a different folder repo, used the insider version, and followed the comment in the logs it kept 'detecting change in the tscofing.ts' It keeps happening ... ;/ |
This one will fix your issue. https://www.codejourney.net/how-to-fix-visual-studio-code-intellisense-loading-infinitely/ Also if you open two repos in one folder for example MAIN FOLDER -> FE repo & BE repo make sure you enter inside of the BE or the FE and then follow the steps from the link I sent. Happy coding. |
Can someone provide the verbose logs? That's what was requested. A description of them like "keeps detecting changes in tsconfig" is helpful, but not as good as the logs, which is what was requested. |
@jakebailey these are the verbose logs only, I was not able to get more detailed logs than these. PS. still facing the issue. |
Same problem here! |
@kartikbhalla12 to me this looks like it should have fixed with #56403 |
@sheetalkamat this seems to working fine now. Was waiting for this for a long time. Thanks a lot! |
for me, deleting node_modules + ts compiled dir fixed my issue |
If you encounter this issue, go to the output tab next to the terminal, select the Extension Host option, and you will see which extension is causing the initialization to freeze. You will need to uninstall it until the extension is updated to fix the issue. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
I have tried all the possible solutions provided in microsoft/vscode#68896 and none of them seem to work. I have tried clearing cache and re-installing vscode but issue still seems to persist.
After manually restarting ts server, this message doesn't seem to persist and works normally but after sometime again this appears
Attaching TS server logs and babel.config and tsconfig
babel.config.js
tsconfig
tsserver.log
The text was updated successfully, but these errors were encountered: