Error: ENOSPC: no space left on device, watch '/home/me/Desktop/Edu/Web/JS/React/weather_app/public'
I have over 700gb free space on my HDD, so don't think it is related to the error.
!After the error it became unavailable to run 'npm start'
on any project present on my machine.
Today I started work on my project that I left yesterday evening in a perfectly working state. I wanted to add redux
to my React project. Steps I made were:
Initializing a local git repository and commiting the key importance files
Downloading redux and react-redux packages via npm
npm start - here the trouble started
OS: ubuntu 16.04 LTS
Node.js version: 10.7.0
npm version: 6.2.0
Also I have tried couple of options suggested on GitHub and this one => link
Run the below command to avoid ENOSPC:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
After that execute:
sysctl --system
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