You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using laravel-mix with tailwindcss and compiling with SASS. When running on "npm run watch", the first compilation takes some time but does it successfully. After i make a small change on one of the file, the command is very slow and sometimes throws error like "FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory".
I hoped that it would be solved in version 6 but it still persists. After trying out these solutions on #2470 and others but still to no vein.
So far debugging it i found that if i don't import @tailwind utilities, there's no any issue. However I do not have any work around it.
6.0
node -v
):15.4
npm -v
):6.14.8
Description:
I am using
laravel-mix
withtailwindcss
and compiling with SASS. When running on "npm run watch
", the first compilation takes some time but does it successfully. After i make a small change on one of the file, the command is very slow and sometimes throws error like "FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
".I hoped that it would be solved in version 6 but it still persists. After trying out these solutions on #2470 and others but still to no vein.
So far debugging it i found that if i don't import @tailwind utilities, there's no any issue. However I do not have any work around it.
Here's my webpack.mix.js file:
My screen.scss file:
I have posted the problem in the larvel mix repo too but could not get any solution.
The text was updated successfully, but these errors were encountered: