nodejs Fatal error: watch ENOSPC

nodejs Fatal error: watch ENOSPC

sdeering@ubuntu: ~-Projects-my-app_046

Solution is to run this command:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

solved.