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

I cannot use leetcode in Vscode #578

Closed
18374800307 opened this issue Jun 22, 2020 · 4 comments
Closed

I cannot use leetcode in Vscode #578

18374800307 opened this issue Jun 22, 2020 · 4 comments
Labels
duplicate This issue or pull request already exists need more info Further information is requested

Comments

@18374800307
Copy link

Before you submit an question we recommend you to check out the DOCUMENT first.

You can also find more information in:

💬 Questions and Help

i cannot use leetcode inVScode,because it report the question
[ERROR] Error: unable to verify the first certificate
Please outline the questions.

@jdneo
Copy link
Member

jdneo commented Jun 22, 2020

What's your node version

@18374800307
Copy link
Author

18374800307 commented Jun 22, 2020 via email

@jdneo jdneo added the need more info Further information is requested label Jun 22, 2020
@jdneo
Copy link
Member

jdneo commented Jun 23, 2020

Close since it's duplicated with #579

@jdneo jdneo closed this as completed Jun 23, 2020
@jdneo jdneo added the duplicate This issue or pull request already exists label Jun 23, 2020
@kermit-ye
Copy link

v8.9.1
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.
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.
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.
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.
[ERROR] You are not login yet?
login: pass: .vscode\extensions\leetcode.vscode-leetcode-0.17.0\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:589
const authenticityToken = body.match(/name="authenticity_token" value="(.*?)"/);
^

TypeError: Cannot read property 'match' of undefined
at Request._callback (.vscode\extensions\leetcode.vscode-leetcode-0.17.0\node_modules\vsc-leetcode-cli\lib\plugins\leetcode.js:589:36)
at self.callback (.vscode\extensions\leetcode.vscode-leetcode-0.17.0\node_modules\request\request.js:185:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (.vscode\extensions\leetcode.vscode-leetcode-0.17.0\node_modules\request\request.js:881:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
login: pass: - Signing in leetcode.com
[ERROR] Error: unable to verify the first certificate
login: pass: - Signing in leetcode.com
[ERROR] Error: unable to verify the first certificate
login: login: pass: - Signing in leetcode.com
[ERROR] Error: unable to verify the first certificate
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.
[ERROR] You are not login yet?
login: login: login: pass: - Signing in leetcode-cn.com
[ERROR] Error: unable to verify the first certificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants