javascript – Maximum call stack size exceeded on npm install
javascript – Maximum call stack size exceeded on npm install
metzelders answer helped me fix the issue. however if you run the command npm cache clean
, it will give you a message
As of [email protected], the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid
So, as of npm5 you can do by adding a --force
flag to the command.
So the command is:
npm cache clean --force
npm rebuild
it has solved my problem
javascript – Maximum call stack size exceeded on npm install
Try removing package-lock.json
and the node_modules
folder:
rm package-lock.json
rm -r node_modules