How to "fix ENOSPC: no space left on device, write" on Mac

Viewed 7113

I've been using create-react-app to create all my react applications. Eventually, I ran into this issue, where when I run npm start, I get this error:

Failed to compile

    ./src/App.js
    Error: ENOSPC: no space left on device, write

I've done lots of research and still can't find out how to resolve the issue. I know it has to do how many "watches" the system is set to and I've reached that limit, but I don't know how to change the limit or delete my previous watches.

2 Answers

I bumped into the same issue today. I think you're out of space on your laptop.

I just encountered with the same problem but by running npm start command on your terminal it works.

Related