Skip to content

Extension initialization failed #784

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

Open
Spring-long opened this issue Mar 31, 2022 · 1 comment
Open

Extension initialization failed #784

Spring-long opened this issue Mar 31, 2022 · 1 comment

Comments

@Spring-long
Copy link

Before you submit an question we recommend you to check out the DOCUMENT first.

You can also find more information in:

💬 Questions and Help

After installing the plugin, click the Leetcode icon prompt Extension initialization failed. Please open output channel for details.

vscode: 1.66.0 (user setup)
node:v16.14.2
Node has been added to the environment variable
windows :No .lc in user directory
wsl: No .lc in user directory

leetcode output :
/mnt/d/software/nodejs/node.exe
v16.14.2
/mnt/c/Users/spring/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/vsc-leetcode-cli/bin/leetcode
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module 'D:\mnt\c\Users\spring.vscode\extensions\leetcode.vscode-leetcode-0.18.0\node_modules\vsc-leetcode-cli\bin\leetcode'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
/mnt/c/Users/spring/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/vsc-leetcode-cli/bin/leetcode
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module 'D:\mnt\c\Users\spring.vscode\extensions\leetcode.vscode-leetcode-0.18.0\node_modules\vsc-leetcode-cli\bin\leetcode'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Error: Command "wsl /mnt/d/software/nodejs/node.exe,/mnt/c/Users/spring/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/vsc-leetcode-cli/bin/leetcode,plugin,-i,company" failed with exit code "1".

@wiuuu666
Copy link

yeah i meet teh same problem, i had try the all way solve this problem. include(change path , no .lc) but i also can not open this shit extension.
error:Extension initialization failed. Please open output channel for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants