TypeError: You must specify a "protocol" for the proxy (http, https...)

Hi all
I want to create a custom splash screen but when I run the command “ionic cordova resources” I’m getting the following error
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)

I googled a lot but couldn’t find the answer.

I checked the following solution, it tells configure proxy in “request.js” file but I don’t have this file in my project.
please help me.

nor this one

Thanks
zia

Did you get solution? Because I am also the having the same problem, but I have not found any solution.

1 Like