Ionic Resources service is broken

thanks. it`s magnificently

This service is broken again.

Also tried

ionic config set backend pro -g

but this is also not working.

2 Likes

To fix this issue you will need to update the ionic/cli to the latest.

In the older versions of ionic cli resources were generated on ionic’s server, while in the new version this is done locally using sharp.

To update the ionic cli without changing any of your code you may follow these simple steps

2 Likes

Same here

Checked
ionic cordova resources --f

Not working
HTTP Error 503: POST https://res.ionic.io/api/v1/upload

Did you read the post immediately above yours?

Yes I read it. I don’t want to upgrade to ionic 4 because I’m fine with ionic 3.

Is it a force update ?

The versioning of the framework (the part of “Ionic” that meshes with your app code and gets included in your app bundle) is completely separated from the versioning of the CLI (the part of “Ionic” that you run in your development/build environment). Upgrading the CLI does not constitute upgrading anything in the framework versions used in your apps. You can (and most Ionic developers do) have different apps built against different framework versions in the same build environment. You still only need one CLI to do that, and the only reason you would not always want the most recent version of the CLI would be if there is some new unfixed or regression bug.

Does that answer your question?

2 Likes

On Mac I couldn’t upgrade my CLI by follow above solution

Still I’m facing same problem.
If the error doesn’t solve, I have a good solution as some developers advised me.

Solution is: “leave ionic, move to flutter.”

1 Like

Do you have nvm installed? If not, I would highly recommend doing so. It makes managing your NPM ecosystem (including Ionic CLI) much friendlier.

I don’t work for Ionic. I’m a volunteer just trying to help people build things. So if this is an attempt to motivate me via guilt or shame to do something more for you, it backfired. Good luck with your further efforts.

SOLVED

Hey bro, the problem occurs in the icon & splash extension. (icon.png & splash.png)

try to manually change
icon,png ==> icon.png-8
splash.png ==> splash.png-8

Not working… :-1:

1 Like

I tried but it is not working

1 Like

I have the same problem. I already updated the @ionic/cli but I can’t update ionic (Ionic CLI)

what is the command to update ?

package.json:

@ionic/cli”: “^6.10.1”

Ionic:

ionic (Ionic CLI) : 4.8.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.6.0
@ionic/app-scripts : 3.2.4

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 8.0.0, ios 4.5.5
Cordova Plugins : no whitelisted plugins (30 plugins total)

System:

Android SDK Tools : 26.1.1 (/Users/yuberstevencastrosandoval/Library/Android/sdk/)
ios-deploy : 1.9.4
NodeJS : v10.15.3 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS
Xcode : Xcode 11.5 Build version 11E608c

There’s no universal answer to that, but probably npm i -g ionic. I would, if I were in your situation, look into installing nvm to manage your Node installation.

This worked for me: https://github.com/ionic-team/ionic-framework/issues/20908#issuecomment-606865282

I’m using ionic v3

1 Like

forget about the command ionic cordova resources
use this instead: https://github.com/ionic-team/cordova-res

Hi all, the Ionic Resources server is no more. Instead, use the ionic cordova resources command which builds assets locally: https://ionicframework.com/docs/cli/commands/cordova-resources