Build failed for ionic view


#1

Hi everybody,

I tried to put a test project on Ionic view, but when I enter the ‘push ionic master’ command the ionic dashboard shows me that the build failed with this error message at the end of the log :

npm info lifecycle ionic-app-base@~build: Failed to exec build script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ionic-app-base@ build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-app-base@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

So I took a look on ionic view api on my phone and if I put my api’s id there is this error message :

No public channel for app id found.

Can anyone tell me a solution please ? I am a little bit stuck :’(

Thanks a lot for your future answers !


#2

What is your ionic info output?


#3

Hi Sujan,

Here is what is shown after typing ionic info command :

cli packages: (C:\Users\user\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

local packages:

@ionic/app-scripts : 1.1.4
Ionic Framework    : ionic-angular 2.0.0-rc.2

System:

Node : v6.11.5
npm  : 3.10.10
OS   : Windows 10

Misc:

backend : pro

#4

Whoah, that is both super old. I am not surprise this doesn’t work.


#5

Ok so what should I do, should I enter a command to updrade them and if I do it will this be ok for the rest of the project ?