-
Notifications
You must be signed in to change notification settings - Fork 9
Description
We are trying to perform Monaca tasks programmatically to automate the app build process. Please note that everything works fine from the Monaca IDE using a browser, however, the last step which is related to triggering the build fails when we do things programmatically.
Below is the process that we are following:
- Create a blank Monaca project.
- Clone it on the local machine.
- Migrate code to the cloned project.
- Upload project from the local machine.
- Trigger remote build.
We can successfully perform the first four (4) steps using your NPM library programmatically but during the 5th step, we get the following build error:
Fetching Build Queue Data...
-> Fetched data for queue ID xxxxxxxxxxxxxx
Preparing Build Environment...
Creating Project Build Workspace...
Fetching Project Content...
Downloading Project Archive...
Extracting Project Archive...
Fetching Project Info...
Build Error: Error: Failed to fetch project info with error : Error: project_info.json not found.
We have noticed that if before the 5th step we trigger the build from the Monaca IDE using a browser manually, then the 5th step is successful using the NPM libraries. However, we want to fully automate this process and we would like to find the fix for the build failure.
Folks at Monaca support believe that it is a monaca-lib issue.
Please find npm project src files with this comment.
src.zip