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

Not working after installation, breaks JS\TS language features #47

Open
Darkzarich opened this issue Nov 21, 2023 · 9 comments
Open

Not working after installation, breaks JS\TS language features #47

Darkzarich opened this issue Nov 21, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@Darkzarich
Copy link

Darkzarich commented Nov 21, 2023

Installed this extension from https://marketplace.visualstudio.com/items?itemName=donebd.vscode-keypromoter and when I reload my vscode my typescript extension started to infinitely load. I cannot see any logs from this extension there is no such entry in output tab's select. Everything seems to work like before as soon as I turn this extension off.

OS: WSL Ubuntu 22.04.3 LTS
Visual Studio Code version: 1.84.2

If you need any more info tell me please.

@donebd
Copy link
Owner

donebd commented Nov 21, 2023

Which typescript extension is broken?

@donebd donebd added the bug Something isn't working label Nov 21, 2023
@Darkzarich
Copy link
Author

Darkzarich commented Nov 21, 2023

Oh I think it wasn't an extension that broke

This thing broke:

image

After installing the extension it now never finishes initializing it

I will rename the issue to reflect what actually happens

These is also this on the extension page

image

Assuming that there was some unhandled exception thrown perhaps and it never initialized

@Darkzarich Darkzarich changed the title Not working after installation, breaks other extensions Not working after installation, breaks JS\TS language features Nov 21, 2023
@donebd
Copy link
Owner

donebd commented Nov 21, 2023

Can you additionally reload window and send logs of extension if it exists, please?
изображение

@Slava0135
Copy link
Collaborator

I am not able to reproduce this.

Maybe it is project specific - try load different one.
Or the extension just doesn't work with WSL.

@Darkzarich
Copy link
Author

Can you additionally reload window and send logs of extension if it exists, please? изображение

I tried and there is just no "Key Promoter" in the select you mentioned

Tried with Windows version of vscode and everything appears to be just fine: seeing both Key Promoter in the output and messages from your screenshot.

It appears the problem is related to WSL. Even though my WSL is just Ubuntu 22.04.3 but maybe some important libs are missing in order for this extension to work.

Maybe someone with pure non-WSL Ubuntu could confirm if it works for them.

@donebd
Copy link
Owner

donebd commented Nov 21, 2023

I have Ubuntu as main OS. This behaviour is not reproducing. I will try same reproduce it with WSL

@donebd
Copy link
Owner

donebd commented Nov 21, 2023

Which OS you use as remote client, Windows?

@Darkzarich
Copy link
Author

Windows 10 with WSL 2 with Ubuntu 22.04.3 installed

@meskill
Copy link

meskill commented Jan 1, 2024

I'm also having an issue with the extension on WSL2. It just doesn't work in wsl.

I found the error log why it's not starting:

2024-01-01 10:03:45.197 [error] Activating extension donebd.vscode-keypromoter failed due to an error:
2024-01-01 10:03:45.198 [error] Error: libX11.so.6: cannot open shared object file: No such file or directory
	at Module._extensions..node (node:internal/modules/cjs/loader:1338:18)
	at Module.load (node:internal/modules/cjs/loader:1117:32)
	at Module._load (node:internal/modules/cjs/loader:958:12)
	at c._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:171:5632)
	at n._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:168:29551)
	at t._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:133:35226)
	at Module.require (node:internal/modules/cjs/loader:1141:19)
	at require (node:internal/modules/cjs/helpers:110:18)
	at load (/home/nixos/.vscode-server/extensions/donebd.vscode-keypromoter-1.0.2/node_modules/node-gyp-build/node-gyp-build.js:22:10)
	at Object.<anonymous> (/home/nixos/.vscode-server/extensions/donebd.vscode-keypromoter-1.0.2/node_modules/uiohook-napi/dist/index.js:6:38)
	at Module._compile (node:internal/modules/cjs/loader:1254:14)
	at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
	at Module.load (node:internal/modules/cjs/loader:1117:32)
	at Module._load (node:internal/modules/cjs/loader:958:12)
	at c._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:171:5632)
	at n._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:168:29551)
	at t._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:133:35226)
	at Module.require (node:internal/modules/cjs/loader:1141:19)
	at require (node:internal/modules/cjs/helpers:110:18)
	at Object.<anonymous> (/home/nixos/.vscode-server/extensions/donebd.vscode-keypromoter-1.0.2/out/keylogger/keyLogger.js:4:24)
	at Module._compile (node:internal/modules/cjs/loader:1254:14)
	at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
	at Module.load (node:internal/modules/cjs/loader:1117:32)
	at Module._load (node:internal/modules/cjs/loader:958:12)
	at c._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:171:5632)
	at n._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:168:29551)
	at t._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:133:35226)
	at Module.require (node:internal/modules/cjs/loader:1141:19)
	at require (node:internal/modules/cjs/helpers:110:18)
	at Object.<anonymous> (/home/nixos/.vscode-server/extensions/donebd.vscode-keypromoter-1.0.2/out/extension.js:33:21)
	at Module._compile (node:internal/modules/cjs/loader:1254:14)
	at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
	at Module.load (node:internal/modules/cjs/loader:1117:32)
	at Module._load (node:internal/modules/cjs/loader:958:12)
	at c._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:171:5632)
	at n._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:168:29551)
	at t._load (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:133:35226)
	at Module.require (node:internal/modules/cjs/loader:1141:19)
	at require (node:internal/modules/cjs/helpers:110:18)
	at Function.i [as __$__nodeRequire] (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/loader.js:5:98)
	at f.vb (/home/nixos/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:168:30730)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	```

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

4 participants