ubuntu跑vue报错:#Error from chokidar # Error: ENOSPC: System limit for number of file watchers reached


Error from chokidar (/home/jayce/桌面/bootstrap-vue/learnBV/learn-bootstrap-vue/node_modules/lodash): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/jayce/桌面/bootstrap-vue/learnBV/learn-bootstrap-vue/node_modules/lodash/xorWith.js'

It’s hitting your system's file watchers limit

Try

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

Read more about what’s happening at https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers#the-technical-details

https://github.com/gatsbyjs/gatsby/issues/11406


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM