My ionic app build is failing

Hi Team,

I am running the ionic 2 app in the Appflow deploy and I am running through the build errors. Please let me know what went wrong.

ionic-app-script task: “build”
[03:57:50] Error: Failed to transpile program
Error: Failed to transpile program
at new BuildError (/builds/eBizSolutionsLLC/Mydriver/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
at /builds/eBizSolutionsLLC/Mydriver/node_modules/@ionic/app-scripts/dist/transpile.js:137:20
at new Promise ()
at transpileWorker (/builds/eBizSolutionsLLC/Mydriver/node_modules/@ionic/app-scripts/dist/transpile.js:103:12)
at Object.transpile (/builds/eBizSolutionsLLC/Mydriver/node_modules/@ionic/app-scripts/dist/transpile.js:61:12)
at buildProject (/builds/eBizSolutionsLLC/Mydriver/node_modules/@ionic/app-scripts/dist/build.js:97:78)
at /builds/eBizSolutionsLLC/Mydriver/node_modules/@ionic/app-scripts/dist/build.js:47:16

npm ERR! errno 1
npm ERR! MyDriver@0.0.1 build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the MyDriver@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-11-13T03_57_50_628Z-debug.log

Running after script…
$ run “clean-up”
ERROR: Job failed: command terminated with exit code 1

Would be because of the following.
Refer these links:
Failed to transpile a program or