由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - leetcode-cli 安装出错 在mac os上
进入JobHunting版参与讨论
1 (共1页)
l***e
发帖数: 480
1
从github上clone的clearloop/leetcode-cli
中间看了一篇网文: How to Code on LeetCode from the Terminal
做下来,出错:
~ > leetcode list
error: missing field `sys` at line 2 column 1, Parse config file failed,
leetcode-cli has just generated a new leetcode.toml at ~/.leetcode/leetcode_
tmp.toml, the current one at ~/.leetcode/leetcode.tomlseems missing some
keys, please compare to the tmp one and add them up : )
~ > ls .leetcode

leetcode.toml
~ > cat .leetcode/leetcode.toml

[code]
editor = "vim"
lang = "java"
[cookies]
csrf = "........"
session = "........"
~ > cargo -V

cargo 1.61.0 (a028ae42f 2022-04-29)
~ > rustc -V

rustc 1.61.0 (fe5b13d68 2022-05-18)
~ > brew list

[email protected] dbus [email protected] sqlite
~ > gcc -v

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx
-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/
include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
还缺啥?
多谢!
g****y
发帖数: 2810
2
你为什么不问这个repo的onwer呢?

leetcode_


gxx

【在 l***e 的大作中提到】
: 从github上clone的clearloop/leetcode-cli
: 中间看了一篇网文: How to Code on LeetCode from the Terminal
: 做下来,出错:
: ~ > leetcode list
: error: missing field `sys` at line 2 column 1, Parse config file failed,
: leetcode-cli has just generated a new leetcode.toml at ~/.leetcode/leetcode_
: tmp.toml, the current one at ~/.leetcode/leetcode.tomlseems missing some
: keys, please compare to the tmp one and add them up : )
: ~ > ls .leetcode
:

l***e
发帖数: 480
3
good hint. Thanks.
1 (共1页)
进入JobHunting版参与讨论