簡體   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