创建反应应用程序中的ENOSPC错误

问题描述 投票:2回答:1

create-react-app error

当我从终端运行yarn start时,我收到此错误消息...我已经尝试了sudo killall node和许多其他进程来清除i-node但没有成功。

我还将我的create-react-app版本降级到版本1.5.1,但我仍然有这些错误......

请有人帮忙吗?

create-react-app
1个回答
4
投票

您最有可能达到进程可以监视的文件数量的Unix限制。

以下命令应该有所帮助:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
© www.soinside.com 2019 - 2024. All rights reserved.