Dev server shuts down silently without any error.
Unanswered
Asian black bear posted this in #help-forum
Asian black bearOP
Since yesterday, the next.js server is shutting down silently on its own.
Sometimes it runs for 5 minutes and the other times it silently shuts down on the first page load.
Any idea?
Sometimes it runs for 5 minutes and the other times it silently shuts down on the first page load.
Any idea?
14 Replies
That's weird, when does the problem start to happen? Does deleting
.next and node_modules folder help?Asian black bearOP
I tried doing that but didn't work.
Can it be some soft of circular dependency in components imports?
Like A import B which in turn imports A.
Or it can caused by an invalid file structure sometimes (experienced on a side project)
Almost impossible to debug without actually getting a minimal repro repo
Almost impossible to debug without actually getting a minimal repro repo
Asian black bearOP
The latest code is available here
The project is open-source.
Okay I'll check it out
Asian black bearOP
Thanks.
btw which app (it's a monorepo)
Asian black bearOP
apps/webSeems like your app needs mongoose and some extra configuration in order to work, it's kinda hard to reproduce your problem
Asian black bearOP
Unfortunately yes. Thanks for taking a look.