After I execute the command “leetcode user -l”, it shows that the login failed and I get the following error message:
readline.js:1150
throw err;
^
TypeError: plugin.next.login is not a function
at Plugin.plugin.login (/usr/lib/node_modules/leetcode-cli/lib/plugins/cache.js:65:15)
at /usr/lib/node_modules/leetcode-cli/lib/commands/user.js:50:12
at /usr/lib/node_modules/leetcode-cli/node_modules/_prompt@1.0.0@prompt/lib/prompt.js:336:32
at /usr/lib/node_modules/leetcode-cli/node_modules/_async@0.9.2@async/lib/async.js:154:25
at assembler (/usr/lib/node_modules/leetcode-cli/node_modules/_prompt@1.0.0@prompt/lib/prompt.js:333:9)
at /usr/lib/node_modules/leetcode-cli/node_modules/_prompt@1.0.0@prompt/lib/prompt.js:342:32
at /usr/lib/node_modules/leetcode-cli/node_modules/_prompt@1.0.0@prompt/lib/prompt.js:625:5
at Interface.onLine (/usr/lib/node_modules/leetcode-cli/node_modules/_read@1.0.7@read/lib/read.js:111:5)
at Interface.emit (events.js:315:20)
at Interface._onLine (readline.js:337:10)
180 # Problem Summary
After I execute the command “leetcode user -l”, it shows that the login failed and I get the following error message:
How can I do to solve this problem?
Environment