Ionic resources not working in ionic 2

ionic resources not working from generate icon and splashscren

Ionic icon and splash screen resources generator
uploading icon.png…
uploading splash.png…
Unable to generate images due to an error Failed to upload source image: Error: socket hang up

cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.2
Xcode version: Not installed

Someone can fix this? I have the same problem,

I have same issue, CLI ask to login when i try ionic cordova resources android
and getting 504 Gateway time out when do login. can anyone fix this issue please?.

cli packages: (C:\Users\jameesh\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 1.3.7
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.2.0

System:

Node : v9.4.0
npm  : 5.6.0
OS   : Windows 7