Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to login as mentioned in the readme file #962

Open
onkar75 opened this issue Jul 4, 2024 · 2 comments
Open

Not able to login as mentioned in the readme file #962

onkar75 opened this issue Jul 4, 2024 · 2 comments

Comments

@onkar75
Copy link

onkar75 commented Jul 4, 2024

🐛 Bug Report

Not able to login as per the steps mentioned in the readme

To Reproduce

install the extension
click on sign
navigates to leetcode login
on click of authorize/login
vscode show error like below
image

Expected behavior

Should have been logged in properly

Extension Output

(node:20040) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
Active Name Version Desc

✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions.
✔ company 2017.12.18 Plugin to query by company for free user.
✔ cache default Plugin to provide local cache.
✔ retry default Plugin to retry last failed request if autologin.enable is on.
✘ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs.
✔ leetcode default Plugin to talk with leetcode APIs.
(node:20041) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
[ERROR] You are not login yet?
(node:20042) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

  • os: macos
  • extension settings:
  • nodejs version: v16.20.2
  • vscode version:
    Version: 1.91.0 (Universal)
    Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286
    Date: 2024-07-01T18:54:18.541Z
    Electron: 29.4.0
    ElectronBuildId: 9728852
    Chromium: 122.0.6261.156
    Node.js: 20.9.0
    V8: 12.2.281.27-electron.0
    OS: Darwin arm64 23.5.0
  • extension version: v0.18.2
@BETTlM
Copy link

BETTlM commented Jul 14, 2024

@onkar75 #964

@xingwen7
Copy link

xingwen7 commented Nov 12, 2024

Sign-in with Cookies works for me.

  • platform: mac arm64
  • extension version: 0.18.4
  • node version: v23.1.0
  • Cookie format: "csrftoken=<value>;LEETCODE_SESSION=<value>;"
    (Note that you need to pass the argument with double quotes so that it can be parsed as a string)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants