VSCodium / vscodium

binary releases of VS Code without MS branding/telemetry/licensing
https://vscodium.com
MIT License
24.29k stars 1.02k forks source link

'VSCodium's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VSCodium.' #1809

Closed secondl1ght closed 4 months ago

secondl1ght commented 4 months ago

Describe the bug After just updating VSCodium I opened the application and got the following error:

VSCodium's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VSCodium.

Please confirm that this problem is VSCodium-specific

Please confirm that the issue/resolution isn't already documented

To Reproduce Steps to reproduce the behavior:

  1. Update version
  2. See error on startup

Expected behavior No error.

Screenshots image

Desktop (please complete the following information):

Additional context Thanks

ToMattBan commented 4 months ago

Yup. Happens here too, and just in the last version "1.86.2" In the previous version "1.85.2" it don't happen.

Going a little deeper into this, I discovered that the error is about the TS extension not founding this file here: "/usr/share/codium/resources/app/extensions/node_modules/typescript/lib/typescript.js". In fact, the 1.86.2 don't even have the "node_modules" folder, so it can't find the typescript stuff.

Hope it helps you guys to solve this problem!

daiyam commented 4 months ago

oh!

daiyam commented 4 months ago

I will have to check it...

daiyam commented 4 months ago

I'm pretty sure it's due to that line: https://github.com/VSCodium/vscodium/blob/f309a13e49054b50e3b7270cbd10987c51584cd0/.github/workflows/stable-linux.yml#L110

(done so we can support glibc2.17)

ToMattBan commented 4 months ago

@daiyam if you need someone to test, just let me know.

daiyam commented 4 months ago

@ToMattBan will do

alsongard commented 4 months ago

Same issue O.S : Kali Rolling Version: 2024.1 @daiyam Great Software

yttiiz commented 4 months ago

Hello @daiyam, i've got the same error after updating VSCodium 1.85.2 to 1.86.2 OS: Ubuntu 22.04.4 LTS Thanks for your work frérot.

edit : I have also a Volar (Vue) extention installed and it try to find out typescript.js file but can't. [Error - 22:49:51] Server initialization failed. Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in /usr/share/codium/resources/app/extensions/node_modules/typescript/lib Code: -32603 I think that it will affect any extention that depends on this file.

f-fusco commented 4 months ago

I'm having the same issue on v1.86.2.

daiyam commented 4 months ago

@ToMattBan and others, a test version is available at https://github.com/VSCodium/vscodium/actions/runs/8012468841 (in the artifact bin-x64) First of all, do you have access? Can you test it? Thx

And, for me, the typescript service is now correctly working.

nsoolo commented 4 months ago

Same error for me, downgrading made the job for now.

image

0xca551e commented 4 months ago

@daiyam I was able to access the test version. I tested the AppImage from the bin-x64 artifact and it works fine :+1:

daiyam commented 4 months ago

1.86.2.24054 is out and fix the issue.

nsoolo commented 4 months ago

Amazing, Thanks very much

yttiiz commented 4 months ago

Works fine now. Thanks so much for your reactivity @daiyam, you the best !

ToMattBan commented 4 months ago

Thank you @daiyam . The new version works like a charm! I tested with some extensions that were bugging but now everything are working as expected!

bitstein commented 4 months ago

Thank you @daiyam. How long does this usually take to enter the debs repository?

daiyam commented 4 months ago

to enter the debs repository

What do you mean?

bitstein commented 4 months ago

to enter the debs repository

What do you mean?

This: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo

I currently cannot downgrade using it, so I will have to wait until it is updated. It’s not an issue, per se, so I thought it might be okay to ask here in this thread.

ToMattBan commented 4 months ago

@bitstein I just installed using the deb in the release section for now. It should update itself when launching new versions. No need to wait to install from the deb repos

daiyam commented 4 months ago

@ToMattBan No, on Linux, the automatic updates are disable due to some users clicking on the update (which resulted to other issues) when they should use the app manager. I've also assumed that those who are using the .deb, known how to update it themself.

ToMattBan commented 4 months ago

@daiyam Sorry, I build my sentence wrong. Didn't mean automatic update, but automatic search for updates. At least here, when I downgraded I got a update request in my update manager.

martinbarilik commented 4 months ago

to enter the debs repository

What do you mean?

This: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo

I currently cannot downgrade using it, so I will have to wait until it is updated. It’s not an issue, per se, so I thought it might be okay to ask here in this thread.

i guess we'll have to wait ....

daiyam commented 4 months ago

Sorry, I didn't understand the issue. There is the error when building the repo: ERROR: Uploading artifacts as "archive" to coordinator... 413 Payload Too Large id=6239193797 responseStatus=413 Payload Too Large status=413 token=glcbt-65 @paulcarroty, maybe the Insiders version isn't needed in the repo? What do you think?

daiyam commented 4 months ago

It has been fixed.

For reference: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/issues/98

bitstein commented 4 months ago

Thank you!