-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Out of memory with Tailwind and new deps optimization #146
Comments
@yyx990803 when build with page using mdui,there's the same error shown like this: |
|
please don’t comment on closed issues. Open new ones with proper reproduction. |
I got same error with vite@2.0.4 and node v14.16.0 -- what should I do? Create a new issue or use some known solution? |
Please don't comment on old issues. Create a new issue for your problem including a minimal reproduction. Use https://chat.vitejs.dev in case you want to discuss before creating one |
Describe the bug
The new dependency optimization in v0.15 makes v8 sweat and aborts with
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
if you have Tailwind in your dependencies.Reproduction
Add Tailwind v1.4.6 to your dependencies. Run
vite
.System Info
vite
version: 0.15.2Logs (Optional if provided reproduction)
Fatal error:
The text was updated successfully, but these errors were encountered: