6

I keep getting the following error in my code ,I Looked at other posts like "maximum call stack size exceeded" but can't quite figure out, any guidance on how to fix this error?

Error in turbo_modules/@angular/core@13.0.3/fesm2015/core.mjs (16:undefined)
Maximum call stack size exceeded.

I shared the code Maxmimum call stack size exceeded

enter image description here

Jeremyapple
  • 253
  • 2
  • 6
  • 20

1 Answers1

0

Downgrading the core-js version in package.json from 3.20.0 to 2.6.9 seems to fix this issue. Apparently core-js v3 has few breaking changes that are not compatible with some libraries.

Dev Gourav
  • 136
  • 8
  • I attached the screen shot where I tried to update, install package "core-js" is missing and when I try to install it ,it installs `"core-js": "^3.20.0",` , I downgrade in the package.json to 2.6.9 but it still installs 3.20.0 , any idea how to workaround this to install 2.6.9? – Jeremyapple Dec 21 '21 at 04:54