Я создал новый проект с помощью create-реагировать на приложение.После того, как проект успешно создан, я пытаюсь запустить проект, нажав команду yarn start
, но он выдает мне необработанную ошибку.
У любого есть хорошее решение этой проблемы.
Starting the development server...
events.js:183
throw er; // Unhandled 'error' event
^
Error: watch /home/sagar/workspace/code-splitting/public ENOSPC
at _errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at createFsWatchInstance (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:37:15)
at setFsWatchListener (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:80:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:232:14)
at FSWatcher.NodeFsHandler._handleDir (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:414:19)
at FSWatcher.<anonymous> (/home/sagar/w Starting the development server...
events.js:183
throw er; // Unhandled 'error' event
^
Error: watch /home/sagar/workspace/code-splitting/public ENOSPC
at _errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at createFsWatchInstance (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:37:15)
at setFsWatchListener (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:80:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:232:14)
at FSWatcher.NodeFsHandler._handleDir (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:414:19)
at FSWatcher.<anonymous> (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:462:19)
at FSWatcher.<anonymous> (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:467:16)
at FSReqWrap.oncomplete (fs.js:153:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.orkspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:462:19)
at FSWatcher.<anonymous> (/home/sagar/workspace/code-splitting/node_modules/chokidar/lib/nodefs-handler.js:467:16)
at FSReqWrap.oncomplete (fs.js:153:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.