menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team

Theia extension error

January 31, 2020 at 5:34pm

Theia extension error

January 31, 2020 at 5:34pm
whenever add new extension to theia ..that extension not work so what are all the steps to follow after added the new extension?

January 31, 2020 at 5:55pm
do you mind providing additional information regarding the issue you are experiencing? What have you attempted?

February 1, 2020 at 6:20am
Assume that you have already one extension running on your theia
If you want to add another extension ...add using "yo theia-extension new theia-extension"
while adding extension overwrite every conflict file
So after running theia extension
extension has not showing in theia
Edited

February 1, 2020 at 2:00pm
If you want to include new extensions to your application they must be declared in your package.json as a dependency and the app must be rebuilt. In the screenshot you provided, I assume you are running the example browser app that is generated from the yo theia-extension generator?
Edited

February 3, 2020 at 2:40am
I have added in package.json files, package.json in parent folder and package.json file in browser-app
I need to know exact steps to follow after adding new extension?

February 3, 2020 at 1:12pm
If you want to add new extensions to your application they must be declared as dependencies in your package.json. In this example, you'd add them in the dependencies section of the package.json of the browser-app. After, you must rebuild the browser-app and restart the application.
If you are still experiencing issues, I can take a look at your application if it is in a public repository.
I have resolved the issues
whenever .....you try to make a extension using theia generator
generator will ask for overwrite some files
and if we are given ..."yes" to every prompt
that's were i din't read carefully
Edited
Now its working fine.