反应本机设置

时间:2021-03-08 22:52:34

标签: reactjs react-native npm expo command-line-interface

我是本机反应的新手,我正在尝试使用此 YouTube 视频中的教程进行设置:https://www.youtube.com/watch?v=0-S5a0eXPoc&t=811s

但是,每当我尝试运行该程序时都会遇到错误。

当我使用 expo start 运行它时,出现此错误:

Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:127:28)

当我使用 npm start 运行它时,我得到了这个:

Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:127:28)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: `expo start`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

我从这里尝试了一些解决方案:error: This is probably not a problem with npm. There is likely additional logging output above

但它们没有用。

0 个答案:

没有答案
相关问题