简体   繁体   English

Node.js-“npm install express”错误:0906D06C:PEM 例程:PEM_read_bio npm

[英]Node.js- "npm install express" error:0906D06C :PEM routines : PEM_read_bio npm

I have installed node.js and it has npm installed along with it.我已经安装了 node.js 并且它也安装了 npm。 In my windows command prompt,when i write "npm install express", it gives me the following error.How to resolve this?在我的 Windows 命令提示符下,当我写“npm install express”时,它给了我以下错误。如何解决这个问题?

C:\\Users>npm -v C:\\用户>npm -v

2.11.2 2.11.2

C:\\Users>npm install express C:\\Users>npm install express

npm ERR! npm 错误! Windows_NT 6.1.7601视窗_NT 6.1.7601

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

npm ERR! npm 错误! node v0.12.5节点 v0.12.5

npm ERR! npm 错误! npm v2.11.2 npm v2.11.2

npm ERR! npm 错误! error:0906D06C:PEM routines:PEM_read_bio:no start line错误:0906D06C:PEM 例程:PEM_read_bio:没有起始行

npm ERR! npm 错误!

npm ERR! npm 错误! If you need help, you may report this error at: npm ERR!如果您需要帮助,您可以在以下位置报告此错误:npm ERR!
https://github.com/npm/npm/issues https://github.com/npm/npm/issues

npm ERR! npm 错误! Please include the following file with any support request: npm ERR!请在任何支持请求中包含以下文件:npm ERR! C:\\Users\\npm-debug.log C:\\用户\\npm-debug.log

I also got same problem after setting registry problem got resolved.设置注册表问题得到解决后,我也遇到了同样的问题。

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

it worked for me.它对我有用。

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 npm 错误! 对 https://registry.npmjs.org/node-modules 的请求失败,原因:错误:0906D06C:PEM 例程:PEM_read_bio:没有起始行 - npm ERR! request to https://registry.npmjs.org/node-modules failed, reason: error:0906D06C:PEM routines:PEM_read_bio:no start line 使用 NodeJS 将数据编码为 JWT 令牌获取错误 PEM 例程:PEM_read_bio:没有起始行 - Encoding the data to JWT token with NodeJS getting error PEM routines:PEM_read_bio:no start line 带有PEM文件的nodejs jsonwebtoken:错误“ PEM_read_bio:无起始行” - nodejs jsonwebtoken with PEM file: error “PEM_read_bio:no start line” 带有Google Vision API的AWS Lambda抛出PEM_read_bio:no起始行或Errno :: ENAMETOOLONG - AWS Lambda w/ Google Vision API throwing PEM_read_bio:no start line or Errno::ENAMETOOLONG Node.js NPM安装Express-无法安装Express,错误CERT_UNTRUSTED - Node.js npm install express - can't install express, error CERT_UNTRUSTED node.js npm安装错误 - node.js npm install error 尝试为Node.js安装npm时出错 - Error trying to install npm for Node.js 带有 .p12 和 pem 证书的 Node.js POST 请求输出“错误:读取 ECONNRESET” - Node.js POST request with .p12 and pem certificates outputs "Error: read ECONNRESET" 节点JS NPM错误 - Node JS NPM Error Firebase/admin 使用函数错误:错误:0909006C:PEM 例程:get_name:没有起始行 - Firebase/admin using functions Error: error:0909006C:PEM routines:get_name:no start line
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM