问题描述
在我安装 react-icons
软件包后,我的代码抛出一个错误,提示我的 babel-loader
丢失,因此我也安装了该软件包。
接下来我知道,我运行了 yarn start
并且出现了这个错误:
Assertion Failed: (napi_create_string_utf8(env,events->events[idx].path,NAPI_AUTO_LENGTH,&args[0]) == napi_ok),function fse_dispatch_event,file ../src/fsevents.c,line 147.
error Command Failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
我尝试使用 npm start
并且应用程序启动得很好。
怎么了?