Node.js-"npm install express"错误:0906D06C:PEM例程:PEM_read_bio npm [英] Node.js- "npm install express" error:0906D06C :PEM routines : PEM_read_bio npm
问题描述
我已经安装了node.js,并且它还安装了npm.在我的Windows命令提示符下,当我编写"npm install express"时,出现以下错误.如何解决此问题?
I have installed node.js and it has npm installed along with it. In my windows command prompt,when i write "npm install express", it gives me the following error.How to resolve this?
C:\ Users> npm -v
C:\Users>npm -v
2.11.2
C:\ Users> npm install express
C:\Users>npm install express
npm ERR! Windows_NT 6.1.7601
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"安装 表达"
npm ERR! argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs \node_modules\npm\bin\npm-cli.js" "install" "express"
npm ERR!节点v0.12.5
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! npm v2.11.2
npm ERR!错误:0906D06C:PEM例程:PEM_read_bio:无起始行
npm ERR! error:0906D06C:PEM routines:PEM_read_bio:no start line
npm错误!
npm ERR!如果需要帮助,可以在以下位置报告此错误:npm ERR!
https://github.com/npm/npm/issues
npm ERR! If you need help, you may report this error at: npm ERR!
https://github.com/npm/npm/issues
npm ERR!请在任何支持请求中包括以下文件: npm ERR! C:\ Users \ npm-debug.log
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\npm-debug.log
推荐答案
设置注册表问题解决后,我也遇到了同样的问题.
I also got same problem after setting registry problem got resolved.
cmd>> npm set registry registry.npmjs.org
cmd>> npm install
对我有用.
这篇关于Node.js-"npm install express"错误:0906D06C:PEM例程:PEM_read_bio npm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!