I was developing a website in Next Js 15 using pnpm on my old PC running Linux Mint. While starting the development server using pnpm dev, I get this warning:
Slow filesystem detected. If /home/user/Documents/shopify/.next is a network drive, consider moving it to a local folder. If you have an antivirus enabled, consider excluding your project directory.
Is it because I am using an HDD instead of an SSD? I am not using a network drive as I am running linux mint directly on my HDD, and I don't have an antivirus software running currently.
I tried running the same codebase on my modern SSD laptop and I don't get the error. So, is it primarily because of my HDD or is there something else going on?
Moving the local repo from HDD to SSD (on the same computer) made the warning to disappear. I'm on Windows so I guess you are right, it can be because of the type of disk where the codebase is located.
I delete all node_modules in my monorepo and delete .next folder. Reinstall all packages and run dev script and it work for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With