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

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

问题描述

我是 Node.js 的新手.我试图将 RethinkDB 模块添加到我的项目中,但出现了:npm error:0909006C:PEMroutines:get_name:no start line 错误.

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 set registry http://registry.npmjs.org/ 然后再试一次

type this line npm set registry http://registry.npmjs.org/ and after that try again

我假设您的证书已过期

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

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