Cant Generate Resources With ionic cli

It seems that it’s back again…

1 Like

icon size should be 1024x1024, and splash 2732x2732

1 Like

icon size should be 1024X1024, and splash size 3732x3732

I was getting the same error and I think my problem may have been my windows firewall blocking it. Anycase this new flag added to ionic allows it to generate the resources locally so no server request and it worked for me:

npm i -g cordova-res
ionic cordova resources --cordova-res --force
1 Like

I did the test to create a new project and when adding the platform the error is generated (it is trying to generate with the default images)

⠴ Uploading source images to prepare for transformations
HTTP Error 503: POST https://res.ionic.io/api/v1/upload

<html>
  <head>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta charset="utf-8">
	<title>Application Error</title>
	<style media="screen">
	  html,body,iframe {
		margin: 0;
		padding: 0;
	  }
	  html,body {
		height: 100%;
		overflow: hidden;
	  }
	  iframe {
		width: 100%;
		height: 100%;
		border: 0;
	  }
	</style>
  </head>
  <body>
	<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
  </body>

⠙ Uploading source images to prepare for transformations

The remote service described here has not existed for years. Update your Ionic CLI.