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
While I was trying to get started with Next.js, I was hit with EMFILE, or the "too many open files" error in Linux my terminal gets FLOODED with these errors in less than 2 seconds:
Watchpack Error (watcher): Error: EMFILE: too many open files, watch '/home/rare/Desktop/projects/nextjs_starter/nextjs-dashboard'
Watchpack Error (watcher): Error: EMFILE: too many open files, watch '/home/rare/Desktop/projects/nextjs_starter'
Watchpack Error (watcher): Error: EMFILE: too many open files, watch '/home/rare/Desktop/projects'
Watchpack Error (watcher): Error: EMFILE: too many open files, watch '/home/rare/Desktop'
Watchpack Error (watcher): Error: EMFILE: too many open files, watch '/home/rare'
Watchpack Error (watcher): Error: EMFILE: too many open files, watch '/home'
Like it was essentially making an infinite loop of these errors.
The text was updated successfully, but these errors were encountered:
Note: my laptop has the infamous issue of EMFILE all the time, while most servers do a decently good job at handling this, it seemed like Watchpack didn't and just decided to spam try and watch the directory and all the parent directories also
While I was trying to get started with Next.js, I was hit with EMFILE, or the "too many open files" error in Linux my terminal gets FLOODED with these errors in less than 2 seconds:
Like it was essentially making an infinite loop of these errors.
The text was updated successfully, but these errors were encountered: