[Solved]Vue Project Error: Error from chokidar :

There is a solution to this problem, but this solution does not work after

restarting the system.

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

For the permanent solution, you need to modify the limit.conf configuration file. vi Open /etc/security/limit.conf.The reason behind

is that the number of monitoring handles set by the Linux system is not enough, So after the configuration of files, you have to modify the number of monitoring handles.

 1     *      soft        nofile          524288
 2     *      hard        nofile          524288

then save it, restart the system, and see the problem is successfully solved.

admin
admin

Leave a Reply

Your email address will not be published. Required fields are marked *