question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not sign in leetcode-cn.com

See original GitHub issue

Environment

  • os: Win10

when I find the plugin leetcode in vscode, i download it and find can’t sigin in. I tried login with github, accounts and cookies but it dose not work.

Then I find the issue#478 and download the leetcode-cli version 2.7.0 and i tried login with github, accounts and cookies but still doesn’t work.

when I login with github. it shows

[ERROR] Login failed. Please make sure the credential is correct.

and when I login with leetcode account. it shows

[ERROR] invalid password?

and I also tried login with cookie, it show something different.

[WARN] Failed to retrieve user favorites: [object Object]
C:\Users\XXX\AppData\Roaming\npm\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:525
        user.paid = _user.isCurrentUserPremium;
                          ^

TypeError: Cannot read property 'isCurrentUserPremium' of null
    at C:\Users\XXX\AppData\Roaming\npm\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:525:27
    at Request._callback (C:\Users\XXX\AppData\Roaming\npm\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:431:12)
    at Request.self.callback (C:\Users\XXX\AppData\Roaming\npm\node_modules\vsc-leetcode-cli\node_modules\request\request.js:185:22)
    at Request.emit (events.js:315:20)
    at Request.<anonymous> (C:\Users\XXX\AppData\Roaming\npm\node_modules\vsc-leetcode-cli\node_modules\request\request.js:1161:10)
    at Request.emit (events.js:315:20)
    at IncomingMessage.<anonymous> (C:\Users\XXX\AppData\Roaming\npm\node_modules\vsc-leetcode-cli\node_modules\request\request.js:1083:12)
    at Object.onceWrapper (events.js:421:28)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (_stream_readable.js:1221:12)

actually, i hidden account information and use the XXX instead。

So, how can i solve this problem, thank you very much.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Aaronselfcommented, Jul 24, 2020

ok, thank you. I find it is strange that the UI is different from yesterday. Yesterday i can only find the button sign in. And today i find other buttons and sign in successfully. thank you very much.

1reaction
yihong0618commented, Jul 24, 2020

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't login in Leetcode-cn.com · Issue #645 - GitHub
Bug Report. I can't login in Leetcode-cn.com. To Reproduce. Using Sign-in menu, enter userid and password. Expected behavior.
Read more >
I'm unable to login to support platform. Help - Help Center
If you are unable to login to this platform, you can always send us email to `support@leetcode.com` and we will get in touch...
Read more >
LeetCode 34. 在排序数组中查找元素的 ... - 力扣(LeetCode)官网
No information is available for this page.
Read more >
[#QTBUG-57553] QString::fromRawData heap buffer overflow found ...
Hi Qt developers, test_fuzzer.cpp extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { qDebug() << "DEBUG:" << __PRETTY_FUNCTION__ << *argc; ...
Read more >
Fix Google Play Games sign in problems
Use the steps below to fix Google Play Games account problems, such as: Google Play Games login failed. You can't sign in to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found