Tag: fswatch

fswatch错误,当试图运行在一个Windows泊坞窗容器反应

我正在运行一个unbuntu:在win10上使用Docker Toolbox的最新Docker容器。 我使用create-react-app npm为我自动创build一个反应应用程序。 当我运行“npm start”时,出现以下错误。 events.js:182 throw er; // Unhandled 'error' event ^ Error: watch /frontend/public EMFILE at _errnoException (util.js:1026:11) at FSWatcher.start (fs.js:1383:19) at Object.fs.watch (fs.js:1409:11) at createFsWatchInstance (/frontend/node_modules/chokidar/lib/nodefs-handler.js:37:15) at setFsWatchListener (/frontend/node_modules/chokidar/lib/nodefs-handler.js:80:15) at FSWatcher.NodeFsHandler._watchWithNodeFs (/frontend/node_modules/chokidar/lib/nodefs-handler.js:228:14) at FSWatcher.NodeFsHandler._handleDir (/frontend/node_modules/chokidar/lib/nodefs-handler.js:407:19) at FSWatcher.<anonymous> (/frontend/node_modules/chokidar/lib/nodefs-handler.js:455:19) at FSWatcher.<anonymous> (/frontend/node_modules/chokidar/lib/nodefs-handler.js:460:16) at FSReqWrap.oncomplete (fs.js:154:5) npm ERR! code ELIFECYCLE npm ERR! errno […]