Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.5k views
in Technique[技术] by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

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

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...