Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ENOSPC Error in create-react-app

create-react-app error

I get this error message when I run yarn start from my terminal... I've tried sudo killall node and many other process to clear the i-node yet no success.

I have also downgraded my create-react-app version to version 1.5.1 and yet I still have these errors...

Please can anyone help out?

like image 787
Favour George Avatar asked Jun 11 '18 09:06

Favour George


1 Answers

You're most likely hitting the Unix limit of how many files a process can watch.

The following command should help:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
like image 67
jbmusso Avatar answered Oct 07 '22 00:10

jbmusso