Linux 运行Vue常见错误解决
1.Fatal error: ENOSPC: System limit for number of file watchers reached, watch ......npm run serve 之后,项目可以跑起来,但是会报错,可以这样解决:依次输入echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf &a
·
1.Fatal error: ENOSPC: System limit for number of file watchers reached, watch ......
npm run serve 之后,项目可以跑起来,但是会报错,可以这样解决:
依次输入 echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p sudo sysctl --system
更多推荐
已为社区贡献5条内容
所有评论(0)