-
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
[Feature request] Show build output/progress #4016
Comments
How long is the build supposed to take ?
I have not waited for more than 15 minutes, but it seems that something is wrong. Should i just wait more or is there a problem with my config? |
I'd wager something is wrong with your babel config. Have you tried running it without the external config? |
I had a similar problem where sometimes After increasing the RAM on the (Heroku) server it builds on, it hasn't failed again. I spent a long time looking for anything that might help debug this issue, but ultimately gave up as I couldn't reproduce it locally and there weren't any tools I could find that report progress on a webpack build. Having some sort of progress would be super useful! 🙂 |
You can use webpackbar in the webpack config to show a progress bar. I made a tiny plugin to do that : https://github.com/lucleray/next-progressbar |
How to use next-progressbar together with next-sass |
webpackbar is included in Next.js since v7. With relation to build output, this is landing in stable soon: #5664 |
@timneutkens I don't have any build output showing when I run
until the build either passes or fails which is causing my Travis build to fail as it doesn't see any output. |
Same here, was doing some bundle optimisation and looking for a feature like this. Any config option we need to use or was this disabled in the meantime? |
I've been trying to upgrade to next v8 and the progress bars don't seem to be included. Are there plans for this? |
@vernak2539 I have the same issue as yours. I've updated next to v8 at first the progress bar shown as normal and then it just disappears. And now it's completely nothing in the terminal. |
The progress bar caused significant build performance degradation, so we decided to remove it. You're free to inject this plugin back if you'd like! |
A bit linked with this ticket and not sure if it's normal before creating an issue but I'm using express server + nextjs v8 (basic setup) and I get this:
It seems weird that it's always compiling and not showing done. Is this a bug or a feature? |
@Nelrohd Did you end up finding an answer to the compiling issue? My app works fine but the fact that it doesn't "finish" is driving me crazy! |
Is there some |
@james-wallis
|
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
When starting the next build, nothing is shown for a good amount of time. This has caused several misunderstandings with newer developers and is fairly annoying to have no idea how much longer your build will take.
Expected Behavior
I would expect something in the next.config like showBuildOutput: true that will show some indication of how far along the build is in the terminal or even a progress bar.
Current Behavior
Currently, you're staring at a nonchanging terminal window for a few minutes if the build takes a while.
Context
This could be considered a quality of life improvement but is something that I personally would expect to be a fundemental feature of any build.
The text was updated successfully, but these errors were encountered: