Skip to content

Login failure with error report: "TypeError: plugin.next.login is not a function" #780

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

Open
AilvenLiu opened this issue Mar 24, 2022 · 1 comment

Comments

@AilvenLiu
Copy link

CN endpoint and COM end point were both tried, github and account were both tried.
All the 4 cases were failed and error info obtained as following:

login: (node:18287) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
pass: /home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/vsc-leetcode-cli/lib/plugins/cache.js:89
  plugin.next.login(user, function(e, user) {
              ^

TypeError: plugin.next.login is not a function
    at Plugin.plugin.login (/home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/vsc-leetcode-cli/lib/plugins/cache.js:89:15)
    at /home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/vsc-leetcode-cli/lib/commands/user.js:71:12
    at /home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/prompt/lib/prompt.js:336:32
    at /home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/utile/node_modules/async/lib/async.js:154:25
    at assembler (/home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/prompt/lib/prompt.js:333:9)
    at /home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/prompt/lib/prompt.js:342:32
    at /home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/prompt/lib/prompt.js:625:5
    at Interface.onLine (/home/ailven/.vscode/extensions/leetcode.vscode-leetcode-0.18.0/node_modules/read/lib/read.js:111:5)
    at Interface.emit (node:events:526:28)
    at Interface._onLine (node:readline:487:10)
@lllirunze
Copy link

I also have this problem. Anyone can solve this?

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

2 participants