Old project
ionic 3.5.0 @ionic/cli-plugin-cordova 1.4.1
√ 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!
Error: timeout of [object Object]ms exceeded
C:\Users\Alexo\PycharmProjects\aran\ADMC>ionic cordova resources --verbose
[DEBUG] Loading global plugin @ionic/cli-plugin-proxy
[DEBUG] Detected .\gulpfile.js in project directory
[DEBUG] Loading local plugin @ionic/cli-plugin-cordova
[DEBUG] Loading local plugin @ionic/cli-plugin-gulp
[DEBUG] Loading local plugin @ionic/cli-plugin-ionic1
[DEBUG] Loading local plugin @ionic/cli-plugin-proxy
[DEBUG] Getting plugin info for ionic
[DEBUG] Getting plugin info for @ionic/cli-plugin-proxy
[DEBUG] Getting plugin info for @ionic/cli-plugin-cordova
[DEBUG] Getting plugin info for @ionic/cli-plugin-gulp
[DEBUG] Getting plugin info for @ionic/cli-plugin-ionic1
[DEBUG] Checking for latest plugin version of ionic@latest.
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-proxy@latest.
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-cordova@latest.
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-gulp@latest.
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-ionic1@latest.
[DEBUG] Latest version of ionic@latest is 3.5.0.
[DEBUG] Latest version of @ionic/cli-plugin-proxy@latest is 1.3.2.
[DEBUG] Latest version of @ionic/cli-plugin-gulp@latest is 1.0.2.
[DEBUG] Latest version of @ionic/cli-plugin-ionic1@latest is 2.0.1.
[DEBUG] Latest version of @ionic/cli-plugin-cordova@latest is 1.4.1.
[DEBUG] resourceJsonStructure=3
[DEBUG] platformDirContents=android,platforms.json
[DEBUG] buildPlatforms=android
[DEBUG] getProjectPlatforms completed - length=1
[DEBUG] imgResources=12
[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: timeout of [object Object]ms exceeded
[DEBUG] Error: timeout of [object Object]ms exceeded
at Timeout.
(C:\Users\Alexo\PycharmProjects\aran\ADMC\node_modules\superagent\lib\node\index.js:891:17)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
Projects started with Ionic CLI have this file, that’s why ionic info execpts it. (Checked via ionic start ionic-v1 blank --type=ionic1). Maybe ionic cordova resources does as well.
Does adding --no-timeout to the command run make a difference?
Manually futzing with the node_modules directory isn’t really a solution. All projects should be capable of having that directory blown away and regenerated by npm i, and if they aren’t, something fundamental is wrong with them (probably in package.json).