Reactjs 在React JS中使用ttf字体文件时发生未经处理的错误事件

Reactjs 在React JS中使用ttf字体文件时发生未经处理的错误事件,reactjs,yarnpkg,Reactjs,Yarnpkg,我在React项目中使用这个MYFONT.ttf已经很长时间了。但当我尝试开始项目时,它突然抛出以下错误 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

我在React项目中使用这个MYFONT.ttf已经很长时间了。但当我尝试
开始项目时,它突然抛出以下错误

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.

请告诉我我做错了什么。谢谢你抽出时间。(:

当您没有空间时会抛出该错误,请尝试为您的观察者添加更多空间。@ReiDien根据
df
命令,我的文件系统只有34%的可用空间。观察者有自己的限制,以nodemon为例,这与您的磁盘空间无关,而是与您的观察者有关space@ReiDien如何为react脚本解决此问题?
"react": "^16.2.0",
"react-scripts": "1.0.17"
yarn version - 1.3.2