Try things from here: https://stackoverflow.com/questions/40566348/maximum-call-stack-size-exceeded-on-npm-install?page=1&tab=scoredesc#tab-top
like npm cache clean --force or npm rebuild
Hi, I am getting an error when I run npm run build in production
error during build: RangeError: Maximum call stack size exceeded at RegExp.exec () at file:///var/www/html/test.webapp/node_modules/vite/dist/node/chunks/dep-52909643.js:37177:54 at Array.reduce () at _interpolate (file:///var/www/html/test.webapp/node_modules/vite/dist/node/chunks/dep-52909643.js:37176:18) at file:///var/www/html/test.webapp/node_modules/vite/dist/node/chunks/dep-52909643.js:37210:15 at Array.reduce () at _interpolate (file:///var/www/html/test.webapp/node_modules/vite/dist/node/chunks/dep-52909643.js:37176:18) at file:///var/www/html/test.webapp/node_modules/vite/dist/node/chunks/dep-52909643.js:37210:15 at Array.reduce () at _interpolate (file:///var/www/html/test.webapp/node_modules/vite/dist/node/chunks/dep-52909643.js:37176:18)
Please or to participate in this conversation.