LeetCode-OpenSource / vscode-leetcode

Solve LeetCode problems in VS Code
https://marketplace.visualstudio.com/items?itemName=shengchen.vscode-leetcode
MIT License
8.22k stars 651 forks source link

login error forever - lajiruanjian buhuizaiyong #939

Open Zmystie opened 7 months ago

Zmystie commented 7 months ago

🐛 Bug Report

When I try to log in with leetcode creditial - doesn't support US log in with Github - doesn't work: [GitHub] Please verify your device log in with cookies - doesn't work with the following error: `login: cookie: - Retrieving user favorites [WARN] Failed to retrieve user favorites: [object Object]

TypeError: Cannot read property 'toString' of undefined at /Users//.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/log.js:55:31 at Array.map () at Object.log. [as info] (/Users//.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/log.js:55:20) at /Users//.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/commands/user.js:121:13 at /Users//.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:523:14 at Request._callback (/Users//.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:422:19) at Request.self.callback (/Users//.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/request/request.js:185:22) at Request.emit (events.js:315:20) at Request. (/Users/zmy/.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/request/request.js:1161:10) at Request.emit (events.js:315:20)`

To Reproduce

Steps to reproduce the behavior.

Expected behavior

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

Extension Output

As above.

Your Environment

maoding1 commented 1 month ago

same question