8000 v4.98.0 extension error: "Error while getting the latest version for the extension", "Cannot read properties of undefined (reading 'replace')" · Issue #7265 · coder/code-server · GitHub
[go: up one dir, main page]

Skip to content

v4.98.0 extension error: "Error while getting the latest version for the extension", "Cannot read properties of undefined (reading 'replace')" #7265

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

Closed
1 of 2 tasks
OliverwengFiltered opened this issue Mar 14, 2025 · 2 comments
Labels
bug Something isn't working upstream:vscode Needs to be fixed upstream in VSCode

Comments

@OliverwengFiltered
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

after upgrading to latest version 4.98.0, when code server loads, all the extensions I have installed started to show error. (see image below)

Image

Steps to Reproduce

  1. run latest code server v4.98.0
  2. install an extension.
  3. reload, you will see the error printed on the browser console

Expected

there shouldn't be such errors.

Actual

there are below errors printed on the conosle.

installHook.js:1 ERR Error while getting the latest version for the extension ms-dotnettools.vscode-dotnet-runtime. Cannot read properties of undefined (reading 'replace')

installHook.js:1 ERR Error while getting the latest version for the extension ms-python.debugpy. Cannot read properties of undefined (reading 'replace')
installHook.js:1 ERR Error while getting the latest version for the extension ms-python.python. Cannot read properties of undefined (reading 'replace')

installHook.js:1 ERR Error while getting the latest version for the extension muhammad-sammy.csharp. Cannot read properties of undefined (reading 'replace')
installHook.js:1 ERR Error while getting the latest version for the extension redhat.java. Cannot read properties of undefined (reading 'replace')
installHook.js:1 ERR Error while getting the latest version for the extension vmware.vscode-boot-dev-pack. Cannot read properties of undefined (reading 'replace')
installHook.js:1 ERR Error while getting the latest version for the extension vmware.vscode-spring-boot. Cannot read properties of undefined (reading 'replace')
installHook.js:1 ERR Error while getting the latest version for the extension vscjava.vscode-java-debug. Cannot read properties of undefined (reading 'replace')
installHook.js:1 ERR Error while getting the latest version for the extension vscjava.vscode-spring-boot-dashboard. Cannot read properties of undefined (reading 'replace')
installHook.js:1 ERR Error while getting the latest version for the extension vscjava.vscode-spring-initializr. Cannot read properties of undefined (reading 'replace')

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

Yes, this is also broken in native VS Code

Does this bug reproduce in GitHub Codespaces?

Yes, this is also broken in GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

@OliverwengFiltered OliverwengFiltered added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Mar 14, 2025
@OliverwengFiltered OliverwengFiltered changed the title v4.98.0 extension error: "Error while getting the latest version for the extension" v4.98.0 extension error: "Error while getting the latest version for the extension", "Cannot read properties of undefined (reading 'replace')" Mar 14, 2025
@code-asher
Copy link
Member

Seems to be an upstream issue: microsoft/vscode#239782

@code-asher
Copy link
Member
code-asher commented May 22, 2025

Seems to have been fixed upstream.

@code-asher code-asher closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2025
@code-asher code-asher added upstream:vscode Needs to be fixed upstream in VSCode and removed triage This issue needs to be triaged by a maintainer labels May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream:vscode Needs to be fixed upstream in VSCode
Projects
None yet
Development

No branches or pull requests

2 participants
0