Title: Missing Dependencies in TheiaIDE Distribution on Windows
Steps to Reproduce:
- Download the Windows installer release from the official TheiaIDE web page.
- Run the installer: I Agree > Anyone who uses this computer (all users) > I Agree > Install and wait for the installation process to complete.
- Run cmd as administrator and execute "C:\Program Files\Eclipse Theia\TheiaIDE\TheiaIDE.exe" --hostname 127.0.0.1 --log-level debug --log-dir "%USERPROFILE%.theia-ide\logs"
- Observe startup logs in the console.
Additional Information
When launching the prebuilt Eclipse Theia IDE on Windows, the application fails to locate a large number of bundled packages. Instead of loading, TheiaIDE emits “Cannot resolve package … relative to …/resources/app/package.json” errors for core extensions and libraries.
- Operating System: Windows 11 Pro 10.0.26100
- Theia Version: 1.61.0
- Node Version: v24.1.0
- Npm Version: 11.3.0
It looks like the TheiaIDE package is using the @theia/metrics package which is using an outdated method of retrieving the installed extensions. After packaging these extensions no longer exists, which explains the source of the error:
https://github.com/eclipse-theia/theia/blob/2060a9b89aa9e1fa83d909767c24c6c47dd41b9b/packages/metrics/src/node/extensions-metrics-contribution.ts#L36
It's supposed to use the globalThis.extensionInfo property instead.
@AlexanderSLoburev does this have any consequences other than the log output?
@tsmaeder Well, I just checked again, and at first glance, everything is fine now. But yesterday it was not possible to access the Open-VSX Registry with the error "theia ide Error fetching extensions. timeout"