安装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
,应用程序启动得很好。
怎么了?