-
Notifications
You must be signed in to change notification settings - Fork 36
can't log in leetcode.cn in m1 mac #135
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
Comments
This seems to be because the plug-in cannot obtain your username from https://leetcode.cn/list/api/questions, is it useless to log in again? |
Oh sorry, the version number is wrong, the version number I use is v2.11.7.
I tried many times but couldn't log in, using cookies etc. I can log in using the official plug-in(https://github.com/LeetCode-OpenSource/vscode-leetcode), indicating that there is no problem with my local network. |
Hello yhsmer |
(꒪⌓꒪) 2.11.9 |
可以看一下这里面的讨论有没有帮助 |
@evankwolf 跟那个应该没关系,他之前的提示是因为获取不到标注的喜爱列表的内容数据,,我试了几个账号,都没有那种情况,他的账号不清楚是什么状况 |
@yhsmer 你那个是获取不到用户名,你账号的用户名很特殊吗 |
@yhsmer 可以的话,可以看看你的根目录 ~/.lcpr/leetcode/user.json 的内容,是不是没有name的内容 |
我之前一直使用的是这个插件https://marketplace.visualstudio.com/items?itemName=LeetCode.vscode-leetcode ,会不会是哪里出现了冲突。 |
@yhsmer 你的user.json中login的内容是yhsm? 国服不是邮箱登录吗? 你是邮箱登录吗?不知道跟com冲突有没有关系, 你可以试试把.lcpr目录都删了,直接登录国区呢? |
国服用户名登录和邮箱登录都登不上,.lcpr删了同样登不上,报错提示和前面一样😂 |
@yhsmer Hello,麻烦再试试看2.11.10,能不能登录cn站,我这边没有这种情况的账号,测不了😂 |
@ccagml 解决了!能登录了!感谢! |
🐛 Bug Report(错误报告)
can't log in leetcode.cn in m1 mac.
I can log in leetcode.cn with official leetcode extension, but can't log in using this extension.
Extension Output(扩展输出)
Guidance: Press

Ctrl+Shift+U
, and toggle the channel toLeetCode
.(按Ctrl+Shift+U
,将频道切换到LeetCode
。)Your Environment
os: Darwin arm64 21.5.0
extension settings:
nodejs version: Node.js v18.8.0
vscode version: 1.74.2
extension version: v2.11.7
The text was updated successfully, but these errors were encountered: