Ionic cordova resources Error 400


ionic cordova resources Error
Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be ouT of date.

my System is :
global packages:

@ionic/cli-utils : 1.4.0
Cordova CLI      : 6.5.0
Gulp CLI         : not installed globally
Ionic CLI        : 3.4.0

local packages:

@ionic/app-scripts              : 2.0.0
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-gulp          : 1.0.1
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.2.3 ios 4.4.0
Ionic Framework                 : ionic-angular 3.5.0


Node       : v6.11.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.1
ios-sim    : 6.0.0
npm        : 5.0.4

> ionic cordova resources error in new version

Run ionic cordova resource --verbose please.
Also make sure the source images are not 0x0px of size.


The same error here. The command with --verbose has the same output:

[DEBUG] Loading global plugin @ionic/cli-plugin-proxy
[DEBUG] Throwing PLUGIN_NOT_INSTALLED for global @ionic/cli-plugin-proxy
[DEBUG] Loading local plugin @ionic/cli-plugin-cordova
[DEBUG] Loading local plugin @ionic/cli-plugin-ionic-angular
[DEBUG] resourceJsonStructure=3
[DEBUG] platformDirContents=android,ios,platforms.json
[DEBUG] buildPlatforms=android,ios
[DEBUG] getProjectPlatforms completed - length=2
[DEBUG] imgResources=48
[DEBUG] createImgDestinationDirectories completed - length=4
[DEBUG] getSourceImages completed - 2
V 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.
× Uploading source images to prepare for transformations - failed!
HTTP Error 400: POST
{"Error":"unable to read uploaded image","Width":0,"Height":0,"Type":"png","Vec


Thanks for the --verbose output, unfortunately nothing helpful.

What are the filenames of your files?
Are the file types correct?
What is the size (file size and image size) of your files?