Ionic 3 error compiling for Android: Error: Failed to transpile program

0

When I give the command:

ionic cordova build android --debug

It gives the following error, but in ionic serve normal wheel ... what am I doing wrong?

Error: Failed to transpile program
    at new BuildError (C:\wellfitapp\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)
    at C:\wellfitapp\node_modules\@ionic\app-scripts\dist\transpile.js:159:20
    at new Promise (<anonymous>)
    at transpileWorker (C:\wellfitapp\node_modules\@ionic\app-scripts\dist\transpile.js:107:12)
    at Object.transpile (C:\wellfitapp\node_modules\@ionic\app-scripts\dist\transpile.js:64:12)
    at C:\wellfitapp\node_modules\@ionic\app-scripts\dist\build.js:109:82
    
asked by anonymous 02.04.2018 / 23:41

1 answer

1

Just the command:

 Ionic doctor check

And make corrections.

    
03.04.2018 / 00:42