0
votes

while running create-react-app command on command prompt using yarn

info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. error An unexpected error occurred: "EPERM: operation not permitted, unlink '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:\>
1
Run cmd as administrator - Anurag Srivastava
i faced issue using both yarn and npm while create react app - Jyoti Chavan
info [email protected]: The platform "win32" is incompatible with this module. what exactly this..? - Jyoti Chavan
You don't have to worry about fsevents warnings usually, did you try running cmd as admin? - Anurag Srivastava
yes sir.. I tried from cmd as administrator.. same issue occured - Jyoti Chavan

1 Answers

0
votes

If you want to create a git repository for version control or publishing to a site like GitHub, you need to install git before running create-react-app. Otherwise, you can ignore it and use the app in your samples directory without git.