DEV Community

biswajitAnhad
biswajitAnhad

Posted on

An unexpected Turbopack error occurred. A panic log has been written to /tmp/next-panic-d4531743b5c529bb25e5050ddb11433.log.

When I "npm run dev" in my nextsJS 16.0.7 project error occured.

Solved by this :
Increase file watch limit in Linux

  1. 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)

  1. Apply changes

sudo sysctl -p

Done. This survives reboot.

Top comments (0)