Same issue here and others are getting it on this ticket.
Same problem on brand new project. I have reported it as you suggested.
Here’s a full error output if it helps
Error: encountered bad status code (503) for https://res.ionic.io/api/v1/transform
body: <!DOCTYPE html>
<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>
</html>
at Response.res.on (/Users/PROJECT-DIR/node_modules/@ionic/cli-utils/lib/cordova/resources.js:148:32)
at emitNone (events.js:86:13)
at Response.emit (events.js:185:7)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
Not really as this is the default Heroku error message - but the only people that could do anything about it are the Ionic team which you can only reach by using the support route - they are not very active here in the forum.
Ah no problem I’ll go submit a bug report
It was back for me for a moment there…
http://res.ionic.io/api/v1/upload
and the CLI looked like it was working again, but looks like it’s fell over again
Awww boooo!! Hoping some wizard at Ionic fixes it soon, sat here being unable to work
The whole concept of using a webservice to resize your resource images is reasonably sound in terms of keeping the service up to date… but surely it’s more sustainable (for ionic the company ) to use some kind of npm local app to do it?
Starting to feel a little uncertain about their cloud provision stuff in the light of the ionic push rug being pulled from under people’s feet… and now basic infrastructure going wobbly
Working perfectly now
i have the same problem now
I have to run “ionic cordova resources ios” 4 times.
Don’t know why.
Generating platform resources: 8 / 32 complete - failed!
Generating platform resources: 12 / 32 complete - failed!
Generating platform resources: 17 / 32 complete - failed!
Generating platform resources: 32 / 32 complete - done!
Use steps from support page:
npm uninstall -g ionic
npm install -g @ionic/cli
npm install -g cordova-res
ionic cordova resources
Sir can you tell me how to fix above error I have got same error?
Are u fixed above issue after install above plugin?
Yes, use cordova-res, ionic doesn’t use the server based resource service anymore…
Sir I have fixed above issue via below command.
npm i -g ionic@latest
Worked for me.
Thank you
Thanks!! worked for me too
You forgot to uninstall ionic first
npm uninstall -g ionic
then
npm i -g @ionic/cli
It helped to fix.
The main issue is old ionic cli 3 version send images to cloud.
New Ionic cli 6 version convert images locally