Skip to content

vscode-leetcode with nodejs do not work well #772

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
viviqiao opened this issue Jan 26, 2022 · 2 comments
Open

vscode-leetcode with nodejs do not work well #772

viviqiao opened this issue Jan 26, 2022 · 2 comments

Comments

@viviqiao
Copy link

I have installed vscode and node.js in win10, and I make sure that the path node.js installed in is added to the environment path. But it still does not work. The output is as follows:

��Ŀ¼���ļ� .exe �Ѿ����ڡ� ����: .exe ʱ������ ��Ŀ¼���ļ� -c �Ѿ����ڡ� ����: -c ʱ������ ��Ŀ¼���ļ� node -v �Ѿ����ڡ� ����: node -v ʱ������ Error: The environment doesn't meet requirements.

other information about my environment:
vscode: version 1.63
node.js: 16.13.2 LTS
windows 10

💬 Questions and Help

Please outline the questions.

@wiuuu666
Copy link

oh, I meet the same problem that i can not open my vscode-leetcode extension. The path of the node.exe is no problem . But when i open this shit extension , it will appear this error:
error:Extension initialization failed. Please open output channel for details.
details:'wsl' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������
Error: Command "wsl wslpath,-u,""D:/nodejs/node.exe""" failed with exit code "1".
yeah i really do not know how to solve it.....

@ZonghuiWang
Copy link

appear same error :
Usage:
-a force result to absolute path format
-u translate from a Windows path to a WSL path (default)
-w translate from a WSL path to a Windows path
-m translate from a WSL path to a Windows path, with '/' instead of ''

EX: wslpath 'c:\users'
wslpath: Invalid argument
Error: Command "wsl wslpath,-u,""C://Program Files//nodejs//node.exe""" failed with exit code "1".

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

3 participants