Error generating build in release mode on ionic

-2

Developed an ionic application 3. All builds in debug mode were generated correctly, but when trying to generate the apk in release mode is giving error.

Ionic Info:

Errorgeneratingapk: I already tested it by deleting the folder node_modules and installing again with the npm install command.

I also tested removing ios and android platforms and adding again.

Please help me there.

    
asked by anonymous 26.04.2018 / 14:06

2 answers

0

From what I understood from the error, it seems like a problem with Node

"... withou a catch block, or by rejecting a promise which was not handler with .catch () ..."

Try to install an earlier version of Node through NVM to see if it works.

    
26.04.2018 / 14:23
0

After some research I managed to solve, erasing the Android platform and adding again, however in version 6.15.0. Thank you all for the help.

    
27.04.2018 / 18:35