Ionic cordova resources error "getaddrinfo ENOTFOUND res.ionic.io"

#1

Hi,

I’m encounting the following error when trying to create cordova resources.

> [DEBUG] Load global plugin @ionic/cli-plugin-proxy
> [DEBUG] Load local plugin @ionic/cli-plugin-cordova
> [DEBUG] Load local plugin @ionic/cli-plugin-ionic-angular
> [DEBUG] resourceJsonStructure=3
> [DEBUG] platformDirContents=android
> [DEBUG] buildPlatforms=android
> [DEBUG] getProjectPlatforms completed - length=1
> [DEBUG] imgResources=18
> [DEBUG] createImgDestinationDirectories completed - length=2
> [DEBUG] getSourceImages completed - 2
> ✔ Collecting resource configuration and source images - done!
> [WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of date.
> [DEBUG] !!! ERROR ENCOUNTERED !!!
> ✖ Uploading source images to prepare for transformations - failed!
> Error: getaddrinfo ENOTFOUND res.ionic.io res.ionic.io:443
> [DEBUG] Error: getaddrinfo ENOTFOUND res.ionic.io res.ionic.io:443
>             at errnoException (dns.js:28:10)
>             at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

Although I’m using the CLI behind a proxy, which I’ve configured via enviroment variables, other commands have worked just fine (e.g. starting a new project works perfectly).

Output of ionic info:

> global packages:

>     @ionic/cli-plugin-proxy : 1.2.0
>     @ionic/cli-utils        : 1.2.0
>     Cordova CLI             : 7.0.1
>     Ionic CLI               : 3.2.0

> local packages:

>     @ionic/app-scripts              : 1.3.7
>     @ionic/cli-plugin-cordova       : 1.2.1
>     @ionic/cli-plugin-ionic-angular : 1.2.0
>     Cordova Platforms               : android 6.2.3
>     Ionic Framework                 : ionic-angular 3.0.1

> System:

>     Node       : v6.8.0
>     OS         : Windows 7

Any help is appreciated. Thanks!

#2

Try running npm update ?

#3

That surely won’t help. His command line cannot connect to res.ionic.io:443 for some reason.
Probably corporate proxy, national cencorship or just a hickup.

#4

I still having this problem. I am not behind a firewall or proxy.

#5

https://res.ionic.io is down.

#6

Has this gotten resolved? Just ran into it now