-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Bug]: Activating extension 'vscode.typescript-language-features' failed: Could not find bundled tsserver.js #5019
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
Comments
I have the same issue |
I cannot reproduce on macOS
Could be this file 🤔 but not 100% sure:
Do you have a firewall or virus tool installed? And did you try reinstalling the extension like it suggests? |
More info here maybe: microsoft/vscode#72721 |
This was missing /usr/lib/code-server/lib/vscode/extensions/node_modules/typescript/lib , it affected vscode.typescript-language-features looking for tsserver.js and html-language-features looking for typescript.js . I took the typescript dir from another install and no more errors |
@code-asher does this ring a bell? It seems very odd that we would be missing one file. Otherwise I can look into it. I couldn't reproduce though. |
Also have this issue after updating this morning |
Also had the issue updating It now. 4.1.0 seems to work fine. Using userLAnd, Ubuntu and install.sh |
The whole typescript dir wasn't there for me under node_modules |
Wow...I wonder if it's Linux only then 🤔 For anyone else having this issue, please give a 👍🏼 to the first comment so we can gauge how many people are affected by this. |
I can add that I am also running it on linux, the issue appeared when updating to 4.2.0. |
I'm also experiencing this following a yay update to 4.2.0 with code-server self-hosting on Manjaro. My case is more general than the original submitter - my steps to reproduce don't involve creating a plugin, just to open my browser to code-server. |
same here, anytime I open a file it pops up essentially |
Thing work fine with code-server 4.1.0. However, I can only login Github Copilot with code-server 4.2.0. |
I'm affected as well after updated to 4.2.0 . 4.1.0 has no issue. Ubuntu 20.04 |
Same Issue with 4.2.0 on: Debian GNU/Linux 11 (bullseye) For everyone who wants to go back to 4.1.0 with install.sh OneLiner:
|
I also have the issue with 4.2.0 on Debian 11, downgrading to 4.1.0 solved the issue. Installed using npm. |
Same issue on macOS 12.3 |
Can you upload the folder here, and where to put it ? |
Same issue here. Happened after upgrading to 4.2.0 and I don't want to downgrade because of Jupyter notebooks :D |
Put
|
Thanks. I can confirm this is working. |
Thanks. Your solution gave me an idea to fix it. It seems to work like mine.
Obviously, this solution is meant to be temporary (until the real bug fix be applied). But at least, it works :) |
I had the same problem (Ubuntu 20.04) and the solution from @Alirezaja1384 works for me (thanks)... didn't try the one from @cxy930123 but probably it does the same thing? Also in my case there was no |
For the linuxserver/code-server/ docker container users here the fix: log in the container console and type:
reload your browser |
@code-asher any ideas on this? Did we forget something in one of our patches? |
This was caused by switching to Code's package step which does not include the package.json. Fixes coder#5019.
This was caused by switching to Code's package step which does not include the package.json. Fixes coder#5019.
This was caused by switching to Code's package step which does not include the package.json. Fixes coder#5019.
This was caused by switching to Code's package step which does not include the package.json. Fixes coder#5019.
@jsjoeio do you plan on releasing a fix version for this or do we need to downgrade to 4.1.0 / wait for 4.3.0? |
@ZauberNerd yes, this fix will be in the next release! |
same here |
* Use --exclude to skip node_modules Instead of copying and then deleting them. This will also catch some node_modules directories that were missed. * Remove per-extension dependency install Code packages all the dependencies using webpack for each extension so there are no dependencies to install. * Include source maps I also moved this to its own patch because it feels sufficiently standalone. Fixes coder#5026. * Refresh language patch The base is slightly different so it needed to be refreshed. * Add missing package.json This was caused by switching to Code's package step which does not include the package.json. Fixes coder#5019. * Include keytar It seems this actually is used now.
Is there an existing issue for this?
OS/Web Information
code-server --version
: 1.64.2Steps to Reproduce
Expected
should not happen
Actual
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code?
Are you accessing code-server over HTTPS?
Notes
I had tried to go into /usr/lib/code-server and run yarn, but no luck, where is tsserver.js?
The text was updated successfully, but these errors were encountered: