how to fix the errors in chokidar in linux

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

Also in Shell: