How to display more detailed log output when npm run build? #65402
Replies: 6 comments
-
Same question. |
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
Any updates?
Trying to find out where the error is being thrown, but even with -d or --debug nothing is really shown |
Beta Was this translation helpful? Give feedback.
-
I too was pulling my hair out with failing builds on
After failing to find any valid fixes and being stuck unable to build I decided to kill my |
Beta Was this translation helpful? Give feedback.
-
I too got stuck but with a different error:
Does anyone know how to fix this? I have already tried to make a lot of changes that didn't lead to a solution, I even removed the .next and node_modules and reinstalled, but the error persists. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When I run npm run build, I'm stuck at the
Collecting page data
step.What bothers me is that the console doesn't output any detailed logs and I don't know where the error is occurring.
How can I display more detailed logs? I've used the
next build --debug
script but this has no effect.Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions