-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
git widget init fail after packaged #13479
Comments
We are about to deprecate the Theia/git extension, we recommen using the built-in VS Code extension instead. See #12745 |
Ok, I understand, but do you still need to fix the problem for historical projects? At present, the latest code makes a separate entrance for @theia/git when webpack is packaged。I think the problems I have encountered so far are mainly caused by the lack of modules。#13487 |
Is the link above correct? It does not show a PR for me. |
Sorry, it seems like there's still a problem with my PR submission. I noticed that there's a check failure in this PR, which indicates that the Author did not have a signed ECA on file. |
it's ok; Please review these changes in this pull request when you have a moment; Thanks |
1 similar comment
it's ok; Please review these changes in this pull request when you have a moment; Thanks |
Hi, I tried to reproduce the error, but I don't get the For testing I used Do you get the error with these steps as well? Which node version are you using? |
Sorry for just seeing this response. In such a scenario, when a project has not been initialized with git from the beginning and subsequently the git init command is run within the terminal, git components will not reflect the most recent file changes. This occurs because the mechanism for monitoring changes is facilitated by ipc-bootstrap file that launches a subordinate process, which in turn loads the git-locator-host module while operating in a multi-processing context. Therefore, pertinent error information is not displayed directly in the console output. |
Bug Description:
when application require @theia/git, the webpack will handle git-locator-host as a entry; but the git-locator-host file don't require
the reflect-metadata module. when run,the Error 'Reflect.hasOwnMetadata is not a function' will throw. therefore the git child_process is cannot run.
Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: