Skip to content
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

Failed to activate extension on VSCode startup #360

Open
awakcon1234 opened this issue Feb 7, 2025 · 1 comment
Open

Failed to activate extension on VSCode startup #360

awakcon1234 opened this issue Feb 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@awakcon1234
Copy link

The extension failed to start when VSCode is opened, doing a soft reload will temporary resolve the issue. I got the following error in the extension host log:

2025-02-07 09:00:36.936 [info] ExtensionService#_doActivateExtension LeonardSSH.vscord, startup: false, activationEvent: 'onStartupFinished'
2025-02-07 09:00:37.134 [error] Activating extension LeonardSSH.vscord failed due to an error:
2025-02-07 09:00:37.134 [error] Error: Extension 'vscode.git' is not known or not activated
    at Z0.getActivatedExtension (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:1751)
    at zz.getExtensionExports (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:10931)
    at Tu.get exports [as exports] (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:24326)
    at new js (c:\Users\...\.vscode\extensions\leonardssh.vscord-5.2.13\src\data.ts:48:31)
    at Object.<anonymous> (c:\Users\...\.vscode\extensions\leonardssh.vscord-5.2.13\src\data.ts:332:26)
    at Module._compile (node:internal/modules/cjs/loader:1484:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at Function.c._load (node:electron/js2c/node_init:2:16955)
    at Function.e._load (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:10896)
    at Function.t._load (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:22534)
    at Function.i._load (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:159:21138)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at Module.require (c:\Users\...\.vscode\extensions\devsense.composer-php-vscode-1.55.16740\out\src\extension.js:2:22961)
    at require (node:internal/modules/helpers:179:18)
    at zz.xb (file:///c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:23854)
    at async Promise.all (index 0)
@nick22985
Copy link
Collaborator

For a temporary fix you could try and do this: #343

We have tried making git a dependency of vscord however that causes the opposite issues of saying that git is not installed extension. I suspect this is an issue with vscode itself.

Related Issues:
#170
#318
#238
#320

@nick22985 nick22985 added the bug Something isn't working label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants