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

Error: Command "wsl wslpath,-u,""C://Program Files//nodejs//node.exe""" failed with exit code "1". #949

Open
ZonghuiWang opened this issue May 25, 2024 · 0 comments

Comments

@ZonghuiWang
Copy link

ZonghuiWang commented May 25, 2024

🐛 Bug Report

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior.

Expected behavior

Can not log in my Leetcode account, the nodejs.## 🐛 Bug Report

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior.

Expected behavior

Can not log in my Leetcode account, the nodejs.exe env path is correct and Error info see BELOW

Extension Output

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 ''
//ERROR HERE
EX: wslpath 'c:\users'
wslpath: Invalid argument
Error: Command "wsl wslpath,-u,""C://Program Files//nodejs//node.exe""" failed with exit code "1".
//ERROR HERE
Paste here the LeetCode extension log from output channel.

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

  • OS: windows11
  • extension settings:
    "workbench.colorTheme": "Gruvbox Material Dark",
    "leetcode.endpoint": "leetcode-cn",
    "leetcode.defaultLanguage": "cpp",
    "leetcode.workspaceFolder": "D:\LeetCode",
    "leetcode.useWsl": true,
    "github.copilot.editor.enableAutoCompletions": true,
    "leetcode.filePath": {
    "default": {
    "folder": "",
    "filename": "${id}.${kebab-case-name}.${ext}"
    }
    },
    "leetcode.nodePath": "C:\Program Files\nodejs\node.exe"
  • nodejs version: v20.13.1.
  • vscode version: 1.89.1
  • extension version: 0.18.2
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

1 participant