Maximum Call Stack Size Exceeded on Npm Install

Maximum call stack size exceeded; removing node_modules and package-lock.json and running 'npm i' did not work

I had this problem myself, its a new issue related to the nested dependencies in @nrwl/cli.
Add this to your package.json:

"optionalDependencies": {
"@nrwl/cli": "13.7.1"
}

Source: https://github.com/nrwl/nx/issues/9755

React boilerplate : Maximum call stack size exceeded

I checked the npm logs and I saw that it was failing at install @xtuc/ieee754
I found this solution https://github.com/angular/angular-cli/issues/12231

Its likely that you have to remove your ~/.npmrc file.

I tried this and it solved the issue for me.

Hope this helps!

This issue just wasted my 6 hours only :(



Related Topics



Leave a reply



Submit