Open cyberfox1 opened 5 years ago
` Serverless: Packaging service... Serverless: Excluding development dependencies...
Fetch Error --------------------------------------------
FetchError: request to https://api.cloudflare.com/client/v4/zones/c00f33815cde7500057aa26ef52c7a3b/workers/settings failed, reason: getaddrinfo ENOTFOUND api.cloudflare.com api.cloudflare.com:443
at ClientRequest.
Seems this module is not making proper use of node-fetch:
fetch('https://www.google.com',{ agent:new HttpsProxyAgent('http://127.0.0.1:8580')}).then(function(res){ ... })
I have set all the usual HTTP_PROXY etc but it does not work. Is there a way?