我已经在我的React Project中使用了这个MYFONT.ttf很长一段时间了。但是当我尝试yarn start
项目时突然发生了以下错误。
Starting the development server...
events.js:182
throw er; // Unhandled 'error' event
^
Error: watch /home/kbtganesh/Documents/Pure/fe-home-loan/public/fonts/MYFONT.ttf ENOSPC
at _errnoException (util.js:1041:11)
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at createFsWatchInstance (/home/kbtganesh/Documents/Pure/fe-home-loan/node_modules/chokidar/lib/nodefs-handler.js:37:15)
at setFsWatchListener (/home/kbtganesh/Documents/Pure/fe-home-loan/node_modules/chokidar/lib/nodefs-handler.js:80:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/kbtganesh/Documents/Pure/fe-home-loan/node_modules/chokidar/lib/nodefs-handler.js:228:14)
at FSWatcher.NodeFsHandler._handleFile (/home/kbtganesh/Documents/Pure/fe-home-loan/node_modules/chokidar/lib/nodefs-handler.js:255:21)
at FSWatcher.<anonymous> (/home/kbtganesh/Documents/Pure/fe-home-loan/node_modules/chokidar/lib/nodefs-handler.js:473:21)
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.
从项目中删除MYFONT.ttf后工作正常。
项目规格
"react": "^16.2.0",
"react-scripts": "1.0.17"
yarn version - 1.3.2
请告诉我我做错了什么。谢谢你的时间。 (: