vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

login error forever - lajiruanjian buhuizaiyong

Open Zmystie opened this issue 1 year ago • 2 comments

🐛 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]

  • Retrieving user profile /Users/**/.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/log.js:55 let s = args.map(x => x.toString()).join(' '); ^

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

  • os: mac Version 13.3.1 (22E261)
  • extension settings:
  • nodejs version:
  • vscode version:
  • extension version: v0.18.1

Zmystie avatar Apr 18 '24 02:04 Zmystie

same question

maoding1 avatar Sep 25 '24 07:09 maoding1