2

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

怎么了?

4

1 回答 1

1

我相信这是由fsevents的上游问题引起的。

于 2021-01-31T13:58:10.020 回答