Ionic Resources not uploading
See original GitHub issueHi All,
Having trouble with ionic resources on the CLI:
the main error is:
× Uploading source images to prepare for transformations - failed! Error: connect ETIMEDOUT 104.20.7.16:443 at Object.exports._errnoException (util.js:1018:11) at exports._exceptionWithHostPort (util.js:1041:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
I’ve tried the following:
- Downgrade npm from 5.5 to 4.4.3 and rerunning
- Deleting files and running resources individually e.g. ionic cordova resources android --icon etc
- Running splash-generator from NPM (there were imagemagick related backwards compatability issues)
This is my current config from running ionic info:
` @ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.0
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic-angular 3.9.2
System:
Node : v6.10.1
npm : 4.4.3
OS : Windows 10
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro`
Any help would be greatly appreciated. Its holding up a build release 😕
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (2 by maintainers)
Top Results From Across the Web
Upload resources fail with 410 - Ionic Framework
I need to make some changes now and when building the app I am getting error at the step when it tries to...
Read more >Ionic cordova resources –force not working - Stack Overflow
On add android/iOS platform or run ionic cordova resources --force this not is completed, always continue stopped in Generating platform ...
Read more >Ionic 4 Loading local image not working on IOS but ... - Reddit
I'm trying to load a image from users phone, crop it and then display. Im using the webview plugin to do that. It...
Read more >Chapter 9: App Icons | Learning Ionic | Softcover.io
Filtering out image resources that do not need regeneration - done! ✓ Uploading source images to prepare for transformations: 2 / 2 complete...
Read more >Migrating to Cordova-Android 11 - Ionic
The problem is very specific to your project and could be related to plugins used, how you manipulate resources in config.xml. I would...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys. My solution is tinypng. https://tinypng.com/
icon: 700kb -> 80kb splash 5.2mb -> 700kb
I guess that uploading image size is important.
the problem is you to have make sure that the extension of image has PNG. Some time is not convert it to PNG for this reason will not works. use this web site to convert urs image http://www.simpleimageresizer.com/