Ionic 3 Error Compiling for Android: Error: Failed to transpile program

Asked

Viewed 951 times

0

When I give the command:

ionic cordova build android --debug

It makes the mistake to follow, but in ionic serve normal wheel... what I’m 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

1 answer

1


All it took was the command:

 Ionic doctor check

And make the corrections.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.