繁体   English   中英

创建反应应用程序时出现纱线错误

[英]yarn error while creating react application

使用 yarn 在命令提示符下运行 create-react-app 命令时

info "fsevents@2.1.2" 是一个可选的依赖项并且兼容性检查失败。 从安装中排除它。 错误发生意外错误:“EPERM:不允许操作,取消链接'D:
\my-app\node_modules\@babel\compat-data\node_modules\.bin'”。

info If you think this is a bug, please open a bug report with the information p
rovided in "D:\\my-app\\yarn-error.log".

info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this comm
and.

`yarnpkg add @testing-library/react@^9.3.2 @testing-library/jest-dom@^4.2.4 @tes
ting-library/user-event@^7.1.2` failed

D:\>

如果要创建 git 存储库用于版本控制或发布到 GitHub 等站点,则需要在运行create-react-app之前安装 git 否则,您可以忽略它并在您的samples目录中使用该应用程序而不使用 git。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM