vscode leetcode插件无法登陆

新手上路,请多包涵

vscode leetcode 插件无法登陆 [ERROR] Error: self signed certificate in certificate chain

已经尝试设置npm set strict-ssl false 不行

[ERROR] You are not login yet?
login: pass: - Signing in leetcode-cn.com
[ERROR] Error: self signed certificate in certificate chain
login: pass: - Signing in leetcode-cn.com
[ERROR] Error: self signed certificate in certificate chain
login: pass: - Signing in leetcode-cn.com
[ERROR] Error: self signed certificate in certificate chain

阅读 7.9k
1 个回答
新手上路,请多包涵

已解决,大概率是node.js问题。

情况1:
node.js的版本过低,最好是10+。

情况2:
leetcode插件node.js的路径问题。
在vscode的插件界面右键leetcode,选择配置。
里面有一个配置node.js的路径的,我重设了一遍就可以成功登录上去了。