npm -6ren">
gpt4 book ai didi

javascript - Node.js- "npm install express"错误 :0906D06C :PEM routines : PEM_read_bio npm

转载 作者:行者123 更新时间:2023-11-30 00:27:01 25 4
gpt4 key购买 nike

我已经安装了 node.js,它也安装了 npm。在我的 Windows 命令提示符下,当我写“npm install express”时,出现以下错误。如何解决这个问题?

C:\Users>npm -v

2.11.2

C:\Users>npm install express

npm ERR! Windows_NT 6.1.7601

npm ERR! argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs \node_modules\npm\bin\npm-cli.js" "install" "express"

npm ERR! node v0.12.5

npm ERR! npm v2.11.2

npm ERR! error:0906D06C:PEM routines:PEM_read_bio:no start line

npm ERR!

npm ERR! If you need help, you may report this error at: npm ERR!
https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\npm-debug.log

最佳答案

设置注册表问题得到解决后,我也遇到了同样的问题。

cmd>> npm set registry registry.npmjs.org 
cmd>> npm install

它对我有用。

enter image description here

关于javascript - Node.js- "npm install express"错误 :0906D06C :PEM routines : PEM_read_bio npm,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31048197/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com