leetcode-cli: Unknown language "javascript"
Problem Summary
run leetcode show 523 -x -g, got an error
[ERROR] Unknown language "javascript" [0]
How to reproduce
Skip
Environment
[Environment] Node v7.7.2 OS darwin 17.2.0
[Configuration] AUTO_LOGIN true COLOR_THEME default ICON_THEME LANG javascript MAX_WORKERS 10 USE_COLOR true
[Themes] Colors blue,dark,default,orange,pink Icons ascii,default,win7
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (5 by maintainers)
Commits related to this issue
- refs #80: fixes "Unknown language" error * update to support recent leetcode.com change. Signed-off-by: Eric Wang <skygragon@gmail.com> — committed to skygragon/leetcode-cli by skygragon 7 years ago
- refs #80: fixes wrong problem link. Signed-off-by: Eric Wang <skygragon@gmail.com> — committed to skygragon/leetcode-cli by skygragon 7 years ago
- refs #80: show supported langs. Signed-off-by: Eric Wang <skygragon@gmail.com> — committed to skygragon/leetcode-cli by skygragon 7 years ago
- refs #80: show supported langs. Signed-off-by: Eric Wang <skygragon@gmail.com> — committed to 15cm/leetcode-cli by skygragon 7 years ago
My two cents since I had the exact same problem…
Make sure we call “leetcode cache -d” before trying again after upgrading the leetcode cli. That will clean all caches and will make sure we don’t see similar problems again.