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 #935

Closed 2SikNinja closed 8 months ago

2SikNinja commented 8 months ago

I have tried updating my nodejs as well and have tried changing the path of where my exe of node is onto the extension settings, but nothing has worked ;( please help.

login: (node:44584) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) pass: [ERROR] Login failed. Please make sure the credential is correct.

PS C:\Users\peter\.leetcode> node --trace-warnings ... node:internal/modules/cjs/loader:1147 throw err; ^

Error: Cannot find module 'C:\Users\peter\.leetcode...' at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v20.11.1 PS C:\Users\peter\.leetcode>

2SikNinja commented 8 months ago

I found this useful if anyone needed. https://github.com/woung717/vscode-leetcode/releases