Open Xtscat opened 3 years ago
~ # leetcode version -v root@localhost
| | | | | | | | | |_ | | _ | |/ \/ \ |/ _|/ \ / ` |/ \ | | / / |_ (| () | (| | / ||\|_|_|\|_/ _,|_| CLI v2.6.2
[Environment] Node v12.0.0 OS linux 4.14.116 Cache /root/.lc/leetcode.cn/cache Config /root/.lc/config.json
[Configuration] autologin {"enable":true,"retry":2} code {"editor":"vim","lang":"java"} file {"show":"${fid}.${slug}","submission":"${fid}.${slug}.${sid}.${ac}"} color {"enable":true,"theme":"green"} icon {"theme":""} network {"concurrency":10,"delay":1} app "leetcode.cn"
[Themes] Colors blue,dark,default,molokai,orange,pink,solarized,solarized.light Icons ascii,default,win7
~ # npm -v root@localhost 6.14.12
I have tried reinstallation, re-login, etc. And ruled out network problems. But it still reports an error.
By the way, my operating system doesn't have a desktop, and I don't know if it has an effect
+1
this will help for leetcode.cn 400 ERROR #216
~ # leetcode version -v root@localhost
| | | | | | | | | |_ | | _ | |/ \/ \ |/ _|/ \ / ` |/ \ | | / / |_ (| () | (| | / ||\|_|_|\|_/ _,|_| CLI v2.6.2
[Environment] Node v12.0.0 OS linux 4.14.116 Cache /root/.lc/leetcode.cn/cache Config /root/.lc/config.json
[Configuration] autologin {"enable":true,"retry":2} code {"editor":"vim","lang":"java"} file {"show":"${fid}.${slug}","submission":"${fid}.${slug}.${sid}.${ac}"} color {"enable":true,"theme":"green"} icon {"theme":""} network {"concurrency":10,"delay":1} app "leetcode.cn"
[Themes] Colors blue,dark,default,molokai,orange,pink,solarized,solarized.light Icons ascii,default,win7
[Plugins] cache default retry default leetcode.cn 2018.11.25 leetcode default
~ # leetcode list root@localhost [ERROR] http error [code=400]
~ # leetcode show 1 -g -l java root@localhost [ERROR] http error [code=400]
~ # node -v 130 ↵ root@localhost v12.0.0
~ # npm -v root@localhost 6.14.12
I have tried reinstallation, re-login, etc. And ruled out network problems. But it still reports an error.