You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Steps to Reproduce
run latest code server v4.98.0
install an extension.
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
The text was updated successfully, but these errors were encountered:
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
Is there an existing issue for this?
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)
Steps to Reproduce
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?
Notes
No response
The text was updated successfully, but these errors were encountered: