Repository navigation
Turbopack Error: Unable to watch /home/zeus/Documents/Projects/test/cms/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4_sass@1.77. #92156
Blaze380
started this conversation in
Turbopack Error Report
Replies: 1 comment
|
Hey! This usually happens when your system hits the file watcher limit (pretty common on Linux with Next.js + Turbopack). Basically, Next.js is trying to watch a lot of files (especially inside Quick fixRun these commands: sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl fs.inotify.max_user_instances=512If that fixes it, you can make it permanent with: echo "fs.inotify.max_user_watches=524288" | sudo tee -a /etc/sysctl.conf
echo "fs.inotify.max_user_instances=512" | sudo tee -a /etc/sysctl.conf
sudo sysctl -pThen restart your dev server: pnpm devWhy this happensLinux has a limit on how many files can be watched at once, and tools like Next.js (especially with Turbopack) can easily exceed that limit. If it still doesn’t work, try deleting the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Turbopack version:
600cd2feNext.js version:
0.0.0Error message:
All reactions