Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why I am getting Slow File System detected error in my Next Js 15 project?

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?

like image 943
bose Avatar asked Oct 20 '25 23:10

bose


2 Answers

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.

like image 69
Raphael Pinto Gregorio Avatar answered Oct 23 '25 18:10

Raphael Pinto Gregorio


I delete all node_modules in my monorepo and delete .next folder. Reinstall all packages and run dev script and it work for me.

like image 31
user16722325 Avatar answered Oct 23 '25 17:10

user16722325



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!