-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
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
Maximum call stack size exceeded #4337
Comments
I've just sent a PR here #4374 You can increase stack size value in case 10000 does not fix your issue. Regards. |
This appears to be an issue for me when using a React Native Webview. The assignment causes a stack overflow. I've left a comment over on the babel issue (now babel/babel#4323) to see if someone could lend some guidance on how to solve this. I think that perhaps the only alternative from material-ui's side would be to break apart the large svg-icons file. |
Problem description
src/svg-icons/image/wb-sunny.js -> build/svg-icons/image/wb-sunny.js
RangeError: src/svg-icons/index.js: Maximum call stack size exceeded
at CodeGenerator.print (/Users/xxx/Personal/material-ui/node_modules/babel-generator/lib/printer.js:75:43)
at CodeGenerator.MemberExpression (/Users/xxx/Personal/material-ui/node_modules/babel-generator/lib/generators/expressions.js:243:8)
at CodeGenerator._print (/Users/xxx/Personal/material-ui/node_modules/babel-generator/lib/printer.js:184:17)
at /Users/xxx/Personal/material-ui/node_modules/babel-generator/lib/printer.js:120:38
at CodeGenerator.withSource (/Users/xxx/Personal/material-ui/node_modules/babel-generator/lib/buffer.js:279:5)
at CodeGenerator.print (/Users/xxx/Personal/material-ui/node_modules/babel-generator/lib/printer.js:119:10)
at CodeGenerator.AssignmentExpression (/Users/xxx/Personal/material-ui/node_modules/babel-generator/lib/generators/expressions.js:206:8)
at CodeGenerator._print (/Users/xxx/
Steps to reproduce
npm install
npm run build (npm run build:babel)
Versions
The text was updated successfully, but these errors were encountered: