-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
'RangeError: Maximum call stack size exceeded ' when run build #3091
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
Comments
Please provide a reproduction. |
Possible related: webpack/webpack#7731 |
@sodatea
|
Again: Please provide a reproduction.
What is "too many pages" supposed to mean? Are you using the We need code to look at and test! |
Thanks. |
Why not here? |
@LinusBorg private project.When I find the reason,I will show it here. |
Sorry for the late respondence. |
@sodatea |
@sodatea Do you have time to do it? Otherwise I will change some async components to sync. |
No I don't, sorry |
Can also be fixed by setting In your reproduction there are ~180 async chunks, so there's a chance that with the corresponding css chunks added, the amount does exceed what webpack can deal with. But it might also be related this issue that vue-loader 15 is producing too many css chunks webpack-contrib/mini-css-extract-plugin#113 I'm not yet sure what the root cause is. |
Awesome. 牛逼~ |
I used cube-ui on compiled mode.It produce a too big chunk 69KB. |
it's same to me ,update node verson may resolve it |
Version
3.2.1
Reproduction link
Environment info
Steps to reproduce
When there are too many pages, will show this error.
Then I detele some router. it build work.
All routes use lazy-load components .I have test node8.x or 10.x and
--max_old_space_size
What is expected?
build normal
What is actually happening?
The text was updated successfully, but these errors were encountered: