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
When starting to develop a fresh extension using the yeoman code generator, the default electron-app and browser-app folders each contain a package.json listing a minimum Theia environment as dependencies.
But when I build an run these applications, and in the fresh, empty Theia application, I invoke the Command Palette (using CMD+SHIFT+P), the Command Palette is not cleanly formatted, but looks distorted.
Additionally, on the console, this error is logged:
I have started to debug this by including the full set of dependencies from Theia IDE and one by one stripping them.
For some reason, the problem seems to be that the "@theia/ai-chat-ui" dependency is missing, because, when I add it to the minimal application, the Command Palette works as expected; but when I remove it again, the Command Palette is distorted again.
Maybe there is an implicit dependency somewhere that causes this? (Or it is a transitive dependency of the ai-chat-ui module ...?).
In any case, the yeoman generator should be fixed to include the necessary dependency (or better yet, if it is really the missing ai-chat-ui module that causes this, I would expect the minimal Theia to even work fine without any AI module installed...).
Steps to Reproduce:
Start in an empty directory and invoke yo theia-extension
I can reproduce the issue with Theia 1.58.3 used in a Theia based application
I can still reproduce the issue when using prerelease 1.59.0-next.72
I can still reproduce the issue when consuming the latest master 3dde0acabee in the Theia based application
I can reproduce that only adding the AI packages solves the issue. Adding all Theia packages BUT the AI packages does not solve the issue.
I can not reproduce the issue with the example application in the Theia repository, even when removing all AI packages (and sample packages to avoid including the AI packages transitively)
Bug Description:
When starting to develop a fresh extension using the yeoman code generator, the default electron-app and browser-app folders each contain a
package.json
listing a minimum Theia environment as dependencies.But when I build an run these applications, and in the fresh, empty Theia application, I invoke the Command Palette (using CMD+SHIFT+P), the Command Palette is not cleanly formatted, but looks distorted.
Additionally, on the console, this error is logged:
I have started to debug this by including the full set of dependencies from Theia IDE and one by one stripping them.
For some reason, the problem seems to be that the "@theia/ai-chat-ui" dependency is missing, because, when I add it to the minimal application, the Command Palette works as expected; but when I remove it again, the Command Palette is distorted again.
Maybe there is an implicit dependency somewhere that causes this? (Or it is a transitive dependency of the ai-chat-ui module ...?).
In any case, the yeoman generator should be fixed to include the necessary dependency (or better yet, if it is really the missing ai-chat-ui module that causes this, I would expect the minimal Theia to even work fine without any AI module installed...).
Steps to Reproduce:
yo theia-extension
yarn && yarn build:electron && yarn start:electron
Additional Information
The text was updated successfully, but these errors were encountered: