I use npm to install new component built by ReactJs. I can successfully install it on local windows machine. However, when I tried to use AWS codeBuild to build my client project, I encountered the following error in virtual machine:
npm ERR! Maximum call stack size exceeded
My npm version is 6.4.1.
When the build starts, the build process actually download npm and start to install packages based on package.json. So it is like to install packages on brand new machine.
I've tried to search online to see if there is anything similar and I couldn't find any solution.
Just plain 'npm install'