Description
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)

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