【发布时间】:2020-10-21 19:16:43
【问题描述】:
我有一个 Angular 应用程序。当我通过运行命令npm i --save 安装node modules 时出现以下错误。
错误:
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
我在这里使用node version 10.x 和angular version 7.3.6。当我尝试运行命令npm i --save 时,也会出现这些错误node_module 文件夹为空。请帮我解决这个错误。
【问题讨论】: