-
Notifications
You must be signed in to change notification settings - Fork 27k
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
[NEXT-1139] [BUG] Very long dev builds 50 times slower #46884
Comments
I had a similar issue on a Mac Book Pro M2, I had to deactivate SWC in next.config.js |
@red1 thanks for reporting! it's awesome! It helps to allocate the problem space a lot |
I am experiencing the same issue with Next.js 13 on Windows 11. |
Hi, could you try removing any previous changes to |
@ijjk oh wow! Thanks for the quick response, and even more, it helped! Can I treat it as a recommendation as-of-now? |
For now yes, we will investigate further! |
It still fantomly reproduced even with It's a hard blocker for us and we have to revert back |
@ijjk, do we need to add some bug tags so it's not lost visibility? The thing is in 13.2.x versions rewrites fixed for |
Facing the same issue here. I did some little experiments in my Next.js + Tailwind CSS project and found that if I use brace expansion in the middle part of paths in Tailwind CSS |
Is there any update on this? I am experiencing a similar issue where my dev builds are very slow on my Mac Pro M1. This issue occurs when using versions of Next.js above 13.2.4, so I have had to lock my version to 13.2.4. |
Not sure if related, but I am getting this now like every build and my builds are 3x longer than they use to be to Vercel: Some times it wont happen but they are still very long build times. Avg build for our 1700 pages use to be 9-11min, now its taking 24min. I even went in and optimized over 100 images our marketing team had uploaded to our Contentful that were huge, shaving off roughly 200MB (yikes, I know). |
Hey, can you share the |
Closing this issue to consolidate the same reports here: #48748 (comment). |
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 Binaries: Node: 18.14.0 npm: 9.4.1 Yarn: 1.22.19 pnpm: 7.25.0 Relevant packages: next: 13.2.4-canary.5 eslint-config-next: 13.1.6 react: 18.2.0 react-dom: 18.2.0
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue
can I add this later?
To Reproduce
Our application heavily using rewrites, it might be the case
npm run dev
, track compilation timeDescribe the Bug
Compilation takes too much time
13.1.6
13.2.2+, also tested on canary builds
Expected Behavior
It takes less or the same amount of time
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
NEXT-1139
The text was updated successfully, but these errors were encountered: