我该如何解决npm ERR!错误:0909006C:Node.js中的PEM? [英] how can i solve npm ERR! error:0909006C:PEM in Node.js?

查看:672
本文介绍了我该如何解决npm ERR!错误:0909006C:Node.js中的PEM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Node.js的新手。我试图将RethinkDB模块添加到我的项目中,但是却得到: npm错误:0909006C:PEM例程:get_name:无起始行错误。

I'm new to Node.js. I tried to add RethinkDB module to my project, but I got: npm error:0909006C:PEM routines:get_name:no start line error.

我不使用代理,尝试卸载/重新安装Node.js,并从我在网上找到的解决方案更改了注册表,但没有一个起作用。

I don't use a proxy, tried uninstalling/reinstalling Node.js, and changing the registry from the solutions I found online, but none of them worked.

推荐答案

键入此行 npm设置注册表http://registry.npmjs.org/ ,然后重试

I假设您的证书已过期

I assume that your certificate is expired

这篇关于我该如何解决npm ERR!错误:0909006C:Node.js中的PEM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆