vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

Command ""C:\Program Files\nodejs\node.exe" "C:\Users\。。。\.vscode\extensions\shengchen.vscode-leetcode-0.15.2\node_modules\vsc-leetcode-cli\bin\leetcode",plugin,-i,company" failed with exit code "1"

Open Yihemu opened this issue 7 years ago • 13 comments

🐛 Bug Report

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Extension Output

Paste here the LeetCode extension log from output channel.

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

Your Environment

  • os:
  • extension settings:
  • nodejs version:
  • vscode version:
  • extension version:

Yihemu avatar Jul 27 '19 09:07 Yihemu

Is your problem solved?

jdneo avatar Jul 28 '19 08:07 jdneo

Is your problem solved?

nope

Yihemu avatar Jul 28 '19 08:07 Yihemu

Anything in the LeetCode output channel?

jdneo avatar Jul 28 '19 08:07 jdneo

Anything in the LeetCode output channel? image

Yihemu avatar Jul 28 '19 08:07 Yihemu

Please follow this step and try again:

  • Uninstall the extension
  • Remove the cached folder: C:\Users\Aragaki YUI\.vscode\extensions\shengchen.vscode-leetcode-xx\
  • Reinstall the extension.

jdneo avatar Jul 28 '19 08:07 jdneo

Please follow this step and try again:

  • Uninstall the extension
  • Remove the cached folder: C:\Users\Aragaki YUI\.vscode\extensions\shengchen.vscode-leetcode-xx\
  • Reinstall the extension.

no use

Yihemu avatar Jul 28 '19 08:07 Yihemu

Remove the cache files? The folder is $home/.lc/

jdneo avatar Jul 29 '19 01:07 jdneo

its work!!thank you

Yihemu avatar Jul 29 '19 01:07 Yihemu

win10、nodejs 10.16.3 I clicked show problem then happen Error: Command "node "c:\Users\users.vscode\extensions\shengchen.vscode-leetcode-0.15.4\node_modules\vsc-leetcode-cli\bin\leetcode",show,7,-c,-l,python3" failed with exit code "0". Please open the output channel for details.

zhangwhitemouse avatar Sep 28 '19 01:09 zhangwhitemouse

@zhangwhitemouse See: https://github.com/jdneo/vscode-leetcode/issues/430

jdneo avatar Sep 28 '19 04:09 jdneo

This problem is reintroduced with latest commit. Get the error as follows: [ERROR] Not supported language "typescript"

rafee avatar Jul 21 '20 04:07 rafee

Remove the cache files? The folder is $home/.lc/ how to find this file path?

daojinjin avatar Nov 29 '21 02:11 daojinjin

If the leetcode plugin output shows "Node.js v18.18.2[ERROR] Error: connect ETIMEDOUT ...", maybe you can try to reinstall node to fix the problem, and it works for me.

JinghuaOriental avatar May 01 '24 08:05 JinghuaOriental