ionic4 创建项目失败 If you are behind a firewall and need to configure proxy settings

If you are behind a firewall and need to configure proxy settings, see: https://ion.link/cli-proxy-docs

ionic4 创建项目失败 If you are behind a firewall and need to configure proxy settings

ionic4 创建项目报错时,不需要设置代理

如果设置了代理

  1. npm config set proxy=https://registry.npm.taobao.org

  2. npm config set https_proxy=https://registry.npm.taobao.org

解决方案:

取消代理

  1. npm config delete proxy

  2. npm config delete https-proxy

ionic4 创建项目失败 If you are behind a firewall and need to configure proxy settings