When I "npm run dev" in my nextsJS 16.0.7 project error occured.
Solved by this :
Increase file watch limit in Linux
- sudo nano /etc/sysctl.conf
Add these lines at the bottom:
fs.inotify.max_user_watches=524288
fs.inotify.max_user_instances=1024
Exit (CTRL + X)
- Apply changes
sudo sysctl -p
Done. This survives reboot.
Top comments (0)