Ionic package build failed?


#1

all my builds fail since friday i guess, after running command, upload is without any error but then when i run command ionic package list i can see that builds have failed status, what can be the reason?


Ionic Package: Error: Source path does not exist: resources/ios/icon/icon-40.png
#2

Which commands exactly are you running?

For Ionic services in general: http://ionicframework.com/support#support


#3

i am running
ionic package build ios --profile 'something'
and then i look at the failed build with
ionic package list


#4

ok, the error is:
Error: Source path does not exist: resources/ios/icon/icon-40.png
but there is this file


#5

why did i pick this framework for an app development, i regret this so much :frowning:


#6

Did you contact support?
What is your ionic info?


#7

i dont have time for support i have to make it work in the next 4 hours

@ionic/cli-utils  : 1.13.1
    ionic (Ionic CLI) : 3.13.1

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.0.0
    Ionic Framework    : ionic-angular 3.6.1

System:

    Android SDK Tools : 26.0.2
    Node              : v6.11.0
    npm               : 5.3.0
    OS                : Windows 10

Misc:

    backend : legacy

#8

Haha, that’s funny…
Why didn’t you contact them 19 hours ago when I first posted the link? Or even before that - you know that Ionic Package is a hosted service and some random people on a community forum can’t possibly look inside it.

This is old, upgrade.

browser and ios are also really old, upgrade.

See this topic where some people have a similar problem:


#9

how can i downgrade the ionic version? because i am trying to uninstall and install 3.12.0 but it still goes back to 3.13.1 whaaat


#10

How should I possibly be able to tell you if you don’t post the command you are using?

(This most probably has nothing to do with the Ionic CLI version - it is not involved with this process that is run on the remote server).


#11

well but it started to fail a few days ago when i have updated something i dont remember now, and i think it was ionic version, i run:

npm uninstall -g ionic
npm install -g ionic@3.12.0

#12

You probably have a local installation of Ionic in your project. Run npm list --depth=0 to find out. If so, run the same commands you posted without the -g.


#13

ok i have fixed this
i have reinstalled platforms and downgraded ionic and it works again


#14

What is your ionic info output now?


#15
    @ionic/cli-utils  : 1.12.0
    ionic (Ionic CLI) : 3.12.0

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.2.3 browser 5.0.0 ios 4.5.2
    Ionic Framework    : ionic-angular 3.6.1

System:

    Android SDK Tools : 26.0.2
    Node              : v6.11.0
    npm               : 5.3.0
    OS                : Windows 10

Misc:

    backend : legacy

#16

I suggest upgrading the CLI again and see if it still works.


#17

status: FAILED
so yeah, its CLI issue somehow

now i am back at 3.12.0 and status: SUCCESS


#18

Then create an issue at https://github.com/ionic-team/ionic-cli/issues please.


#19

oh they have fixed this after my report


#20

I am also facing the same issue. And i am in contact with @Sujan12 in that issue thread… So @FnnHuman what is ur final suggestion for getting the issue resolved?