-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while Installing react-scripts with create a new project #1200
Comments
One thing that looks a bit weird is you're running the command from inside the Trash folder. Is this intentional? I don't know if there's anything preventing that but just curious if you tried creating a project outside of it. |
@fson Looks like Yarn detection code needs a try catch? |
I don’t understand why this happens.
Then could you try to run |
Ohh, yes! I forget instal yarn.. Sorry guys, it was my mistake. Now it's okay. |
Hmm, it still shouldn't fail without Yarn. Yarn is not required for CRA. |
Great! Thank you. |
@SerhiiHrudakov Could you still share the output of commands in #1200 (comment)? |
Sorry, could you run these commands in the terminal:
|
Thanks! As a matter of experiment, could you remove Yarn and try again with
I just want to make sure the issue is fixed. Feel free to install Yarn again afterwards (it's faster) :-) |
There is a typo in uninstall command so it didn't get uninstalled. Could you try this again please? |
Ooo...really... Wait a minute please. |
Hmm, you still have Yarn. Maybe you didn't install it via npm? |
Description
I get an error after creating new react app. It's say about Error at spawn ENOTDIR
Expected behavior
Project should created and add list of files inside a package. For me it's a first time i'm using it (begginer with ReactJS), so mb something wrong with my settings or anything else related with it.
Actual behavior
Its just fall with an error. CRA can't install react scripts.
Environment
MBP
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected):node -v
: v7.2.1npm -v
: 4.0.3Then, specify:
Reproducible Demo
This is screenshot of my terminal window:
The text was updated successfully, but these errors were encountered: