我已经安装了 Node、cordova 和 ionic CLI。但是当我尝试开始新的离子项目时出现错误:
TypeError: unsupported proxy protocol: "xxx.xxx.xxx.xxx"
at mapOptsToProxy (C:\Users\DESIGN-00\AppData\Roaming\npm\node_modules\@ionic\cli-plugin-proxy\node_modules\proxy-agent\index.js:112:11)
at new ProxyAgent (C:\Users\DESIGN-00\AppData\Roaming\npm\node_modules\@ionic\cli-plugin-proxy\node_modules\proxy-agent\index.js:150:17)
at ProxyAgent (C:\Users\DESIGN-00\AppData\Roaming\npm\node_modules\@ionic\cli-plugin-proxy\node_modules\proxy-agent\index.js:145:45)
at Request.proxy (C:\Users\DESIGN-00\AppData\Roaming\npm\node_modules\@ionic\cli-plugin-proxy\node_modules\superagent-proxy\index.js:71:15)
at C:\Users\DESIGN-00\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\lib\http.js:46:17
at next (native)
at fulfilled (C:\Users\DESIGN-00\AppData\Roaming\npm\node_modules\ionic\node_modules\tslib\tslib.js:104:62)
我设置了 npm config 代理但不起作用。有什么建议吗?谢谢你..