“No space left on device” message with npm & Ubuntu 18.04

I got the “No space left on device” message when trying to run a React website using npm. The fix was fast and easy following THIS advice:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

You may also like...