reactjscommand-linecreate-react-appinotify

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


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.


Solution

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