how can I solve this error in ionic `You must specify a “protocol” for the proxy type`
Clash Royale CLAN TAG#URR8PPP
how can I solve this error in ionic `You must specify a “protocol” for the proxy type`
I ran ionic
start series sidetabs
in my Windows
and got this error
ionic
sidetabs
Windows
TypeError: You must specify a "protocol" for the proxy type (http, https, socks, socks4, socks4a, socks5, socks5h, pac+data, pac+file, pac+ftp, pac+http, pac+https)
at new ProxyAgent (C:UserssatoAppDataRoamingnpmnode_modules@ioniccli-plugin-proxynode_modulesproxy-agentindex.js:97:11)
at ProxyAgent (C:UserssatoAppDataRoamingnpmnode_modules@ioniccli-plugin-proxynode_modulesproxy-agentindex.js:81:45)
at Request.proxy (C:UserssatoAppDataRoamingnpmnode_modules@ioniccli-plugin-proxynode_modulessuperagent-proxyindex.js:71:15)
at C:UserssatoAppDataRoamingnpmnode_modulesionicnode_modules@ioniccli-utilslibhttp.js:31:17
at Generator.next (<anonymous>)
at fulfilled (C:UserssatoAppDataRoamingnpmnode_modulesionicnode_modulestslibtslib.js:102:62)
at <anonymous>
How do I solve this?
1 Answer
1
For Windows, enter the SET
command without quotes. The plugin cannot identify the protocol from the url if the text contains quotes. Might get fixed in future. As of now, this worked for me,
SET
set HTTP_PROXY=http://proxy.company.com:port-number
set HTTPS_PROXY=http://proxy.company.com:port-number
set IONIC_HTTP_PROXY=http://proxy.company.com:port-number
set PROXY=http
This applies if your proxy is an HTTP proxy. If you have a SOCK proxy, you need to edit accordingly changing the url and proxy=sock
proxy=sock
Try "set proxy=http"
– clu3Less
Jan 10 at 14:35
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
it didnt work need help
– tochukwu ogugua
Jan 9 at 12:18