question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ionic Resources not uploading

See original GitHub issue

Hi 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:

  1. Downgrade npm from 5.5 to 4.4.3 and rerunning
  2. Deleting files and running resources individually e.g. ionic cordova resources android --icon etc
  3. 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:closed
  • Created 6 years ago
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

55reactions
atake831commented, Feb 5, 2018

Hey guys. My solution is tinypng. https://tinypng.com/

icon: 700kb -> 80kb splash 5.2mb -> 700kb

I guess that uploading image size is important.

7reactions
alnahas86commented, Mar 15, 2018

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/

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found