ionic-pwa icon indicating copy to clipboard operation
ionic-pwa copied to clipboard

Error on build –prod

Open romulocomin opened this issue 4 years ago • 1 comments

Hi!!! i received throw this error, when a use ionic build --prod, after npm audit fix after the message of high vulnerability

Browser application bundle generation complete. Error: ./src/main.ts Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):

it occurred because de @angular-devkit/build-angular was update for version 0.1102...after npm audit fix, so a chance for ^0.1002.2", remove de node_modules and execute de npm i again, so the message "high vulnerability" is gone

I suggest upgrade in package.json @angular-devkit/build-angular

Thank you

romulocomin avatar Feb 21 '21 22:02 romulocomin

Will do, thanks for the feedback.

djabif avatar Feb 24 '21 12:02 djabif