After migrating from Angular v11 to v16, getting the below error. Can I get a solution for this please.

Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Emit attempted before Angular Webpack plugin initialization

  1. I have tried adding "enableIvy":false to my tsconfig.js file.

  2. I have tried reinstalling the compatible typescript version.

  3. Deleted the node modules and reinstalled the node.

Even after doing the above, not able to resolve the issue.

0

There are 0 answers