如何解决为什么安装 babel-loader 后 yarn 会抛出错误?
在我安装 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
并且应用程序启动得很好。
怎么了?
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。