简体   繁体   English

在Node.js中安装Express

[英]Installing Express in Node.js

I am getting error while installing Express to use in Node.js 安装Express以在Node.js中使用时出现错误

I have attached screenshot of the command prompt. 我已附上命令提示符的屏幕截图。

I am not getting what this error is. 我没有得到这个错误是什么。 Please let me know 请告诉我 在此处输入图片说明 what this error say, so that I can fix it. 这个错误说什么,以便我可以解决。

Possible problems: 可能的问题:

  • no internet connection 没有网络连接
  • DNS resolver misconfigured DNS解析器配置错误
  • proxy settings required 需要代理设置

You can try the following commands to narrow down the problem: 您可以尝试使用以下命令来缩小问题范围:

  • host registry.npmjs.org
  • ping registry.npmjs.org
  • curl http://registry.npmjs.org/
  • curl https://registry.npmjs.org/

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM