-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-hosting does not work on Windows in Electron mode #6846
Comments
Hello all - I am still having this same problem and am looking for a fix. anyone have any recommendations? |
@sboudreaux96 I do not believe there is a fix yet for theia-plugins on electron. |
Hi, all, is this problem solved? I still failed to start self-hosting plugin on windows10 by
Nothing happens except
|
Finally, I debugged the problem, and by referring to [https://github.com/nodejs/node/issues/3675], added an option in function runHostedPluginTheiaInstance in file packages\plugin-dev\src\node\hosted-plugins-manager.ts to fix this.
|
@Tom-Yucw Thank you for looking into it 👍 You can simplify the try-catch block into this, removing the need for the if (isWindows) { // Imported from "@theia/core"
options.shell = true;
} Are you interested in providing a pull request for this? This is probably the fastest way someone will look into this :) |
OK, thanks for your advice. I tried your method, it works well. |
@Tom-Yucw Great, please don't forget to sign the eclipse contributor agreement (eca) with the same email as your contribution (your commit email). Doing this after creating the pull request might lead to some complications in the review process :) |
Hi, msujew, I have signed the eca, but failed to set reviewer. A review required after I made a pull request. Would you please help me to do a review? |
@Tom-Yucw That's alright, contributors who aren't members of the Theia team can't request reviewers themselves. The team will take a look when time allows. |
OK |
Description
Plugin self-hosting does not work in the Electron version on Windows. #6316 fixes it on Windows for the browser version but does not address the separate issue on Electron.
Reproduction Steps
Clone https://github.com/tom-shan/theia-plugin-hello-world.
Build (yarn) theia-plugin-hello-world.
Open Theia on theia-plugin-hello-world.
Hosted Plugin: Start Instance.
Nothing happens.
This problem occurs only when both Windows and Electron.
Diagnostics:
This problem was originally discovered by @kittaakos
#6316 (comment)
The text was updated successfully, but these errors were encountered: