LeetCode-OpenSource / vscode-leetcode

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

Cannot log into LeetCode extension anymore, help me please!! #938

Open fanzhangvivian opened 7 months ago

fanzhangvivian commented 7 months ago

when I tried to log in leetcode extension by using cookie or third-party account, it always occur these below error. Is there anybody could help me to solve this log problem? please help me

`TypeError:` Cannot read properties of null (reading 'isCurrentUserPremium')
    at c:\Users\Fan Zhang\.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:530:27
    at Request._callback (c:\Users\Fan Zhang\.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:436:12)
    at self.callback (c:\Users\Fan Zhang\.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\request\request.js:185:22)
    at Request.emit (node:events:519:28)
    at Request.<anonymous> (c:\Users\Fan Zhang\.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\request\request.js:1161:10)
    at Request.emit (node:events:519:28)
    at IncomingMessage.<anonymous> (c:\Users\Fan Zhang\.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\request\request.js:1083:12)
    at Object.onceWrapper (node:events:633:28)
    at IncomingMessage.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)

Node.js v21.7.0
wmasfoe commented 7 months ago

哥,切换到 leetcode-cn 👀

vsc-leet

605

theashggl commented 4 months ago

哥,切换到 leetcode-cn 👀 vsc-leet #605

It doesn't work. It sends to the Chinese login page of Leetcode which does not even have Google sign in of course. So logging in is not possible for me as I sign in with a Google account.