New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RangeError: Maximum call stack size exceeded #5433
Comments
I fixed this by downgrading |
Sorry I missed this one. If this problem still persists, any kind of reproduction would be more than welcome. This looks like it is caused by a module that cannot be parsed correctly, so we would need to see the code of the module in question. |
Impossible for me to tell, sorry. Only guidance I can provide is the following:
|
That does not help at all, unfortunately. What we need is the source code of a module that does not parse. If your sources are JavaScript, you could paste sources as "main.js" in the REPL and see if the error triggers there. This can be done file-by-file, no need for imported files to be present.
then you only need to check the modules where 'Before parsing of' is not matched by a 'Parsed' log. |
Hey there! If you need help or tech support then this is not the place to ask. Please head to the Rollup Discord instead or post a question to https://stackoverflow.com/questions/tagged/rollupjs.
If you arrived here because you think Rollup's documentation is unclear, insufficient or wrong, please consider creating an issue for the documentation instead.
Getting the below error on npm run build while building docker image. Able to build successfully on host machine. Using Vite.
RangeError: Maximum call stack size exceeded
at convertNodeList (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:2064:34)
at classBody (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:1142:22)
at convertNode (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:2057:12)
at importDefaultSpecifier (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:1484:23)
at convertNode (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:2057:12)
at convertNodeList (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:2064:34)
at classBody (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:1142:22)
at convertNode (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:2057:12)
at importDefaultSpecifier (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:1484:23)
at convertNode (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:2057:12)
building at STEP "RUN npm run build": while running runtime: exit status 1
The text was updated successfully, but these errors were encountered: