Ionic Pro Missing package.json in app

Hi, I recently switched over to Ionic Pro and linked up my app’s github account, I have been trying to setup the build so I can view the app in the new Ionic View app. The app is a Ionic v1 app and my app root and package.json app is in the root folder. I saw a link to customize the build for Ionic Pro, so have included this in the package.json file. I am still getting this error every time i push a build out. Am I missing a step? Can someone please let me know what else do i need to do to get the build to work, I keep getting this error “Missing package.json in app” ?

 "scripts": {
        "clean": "ionic-app-scripts clean",
        "build": "ionic-app-scripts build --prod",
        "lint": "ionic-app-scripts lint",
        "ionic:build": "ionic-app-scripts build",
        "ionic:serve": "ionic-app-scripts serve"


I’ve switched to Ionic Pro as well, and it’s happening the same to me, after linking an existing app.

Can anybody help?

1 Like

i have same problem ??

In case anyone finds this - I had the same problem. It turns out that the issue was that my app in github was in a subfolder. Once I moved my project files to the root folder of my git repo, then the build worked successfully.

Bad: Repo/AppName/project files

Good: Repo/project files

1 Like

Thank you very much. It was really that.

Solved my problem.