Giter VIP home page Giter VIP logo

Comments (8)

Lakhwinderr avatar Lakhwinderr commented on September 25, 2024 7

same isssue:
TypeError: Cannot read properties of undefined (reading 'toString')
at c:\Users\LAKHWINDERSINGH.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] (c:\Users\LAKHWINDERSINGH.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\vsc-leetcode-cli\lib\log.js:55:20)
at c:\Users\LAKHWINDERSINGH.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\vsc-leetcode-cli\lib\commands\user.js:121:13
at c:\Users\LAKHWINDERSINGH.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:523:14
at Request._callback (c:\Users\LAKHWINDERSINGH.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:422:19)
at Request.self.callback (c:\Users\LAKHWINDERSINGH.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\request\request.js:185:22)
at Request.emit (node:events:390:28)
at Request. (c:\Users\LAKHWINDERSINGH.vscode\extensions\leetcode.vscode-leetcode-0.18.1\node_modules\request\request.js:1161:10)
at Request.emit (node:events:390:28)
login: (node:21528) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
pass: - Signing in leetcode.com

ChatGPT says:
It appears that you're encountering an error related to session expiration while using the LeetCode extension for Visual Studio Code. This error indicates that your session with LeetCode has expired, and you need to log in again.

To resolve this issue, you should follow these steps:

  1. Log in Again: Follow the instructions provided by the extension to log in again to your LeetCode account. This typically involves navigating to the login page and entering your credentials.

  2. Check Session Duration: Take note of the session duration for LeetCode. If the session duration is short, you may want to check if there's an option to extend the session duration or keep the session alive while you're actively using the extension.

  3. Verify Account: Ensure that your LeetCode account is in good standing and that there are no issues with your account that could be causing the session expiration.

  4. Update Extension: Check if there are any updates available for the LeetCode extension in Visual Studio Code. Updating to the latest version of the extension may address any bugs or issues related to session management.

  5. Contact Support: If you continue to experience issues with session expirations, consider reaching out to the support team for the LeetCode extension or LeetCode platform. They may be able to provide further assistance or insights into the problem.

By following these steps, you should be able to log in again to your LeetCode account and continue using the extension without encountering session expiration errors.

from vscode-leetcode.

snowproud avatar snowproud commented on September 25, 2024 4

the same issue. I have tried all login method(leetcode account, third-party account, cookie), and all failed.

from vscode-leetcode.

TangyrenMidKing avatar TangyrenMidKing commented on September 25, 2024

facing the same issue. Cannot log in even change the auth type to leetcode login.
login: (node:18524) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ...to show where the warning was created) pass: - Signing in leetcode.com [ERROR] session expired, please login again [code=-1]

from vscode-leetcode.

Matthewow avatar Matthewow commented on September 25, 2024

Same here

from vscode-leetcode.

fLexsooP avatar fLexsooP commented on September 25, 2024

same issue here

from vscode-leetcode.

wytsai7660 avatar wytsai7660 commented on September 25, 2024

Any update? I don't think it would be a good idea to turn off 2FA just for that 😐

from vscode-leetcode.

leni8ec avatar leni8ec commented on September 25, 2024

same here(

from vscode-leetcode.

k86td avatar k86td commented on September 25, 2024

I'll take a look at it. First, I've never touched extension dev. And seeing the activity of this repo, I'm not sure a pull request can even get through.

Might be better to just use the fork on the marketplace, but I don't know how it's done.

from vscode-leetcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.