-
-
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
create-react-app fails to create a project on windows 10 #1587
Comments
Can you show a screenshot of how you run it? Are you using Cmd or PowerShell? |
I'm using the Windows CMD environment, which I have setup for ALL OF MY COMMAND processing. I have a complex setup for things like android, SharePoint, web development and more. I have A COMPLETE tool chain that includes YO, BOWER, NODEJS, ANGULARJS, and much more.
Unfortunately, there is nothing to show you from the Windows CMD side because when I run the create-react-app command, the command exits and and the CMD window closes which is very unusual, but when running under POWERSHELL, the create-react-app fails and it shows there is an exit command forcing the window to close and I don't see it when I use the CMD command.
but just to make sure it's not me unless I'm doing something I don't know about and something is missing I just run this on POWERSHELL TO SEE IF I MISSED anything, but alas the create-react-app also FAILED under POWERSHELL. and I have installed the REACT module under admin, under non-admin, with NPM, with YARN and each and everytime I cleaned up any left over files from the ROAMING directory under /user/appData folder.
PowerShell image included.
Anywho: thanks for your quick response.
Regards,
LuisCarlos Rodriguez
…________________________________
From: Dan Abramov <[email protected]>
Sent: Saturday, February 18, 2017 7:07 AM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Author
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
Can you show a screenshot of how you run it? Are you using Cmd or PowerShell?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwr3nq2CmfApWQkAeEKZzQoWqSVuT1ks5rdt8DgaJpZM4MFAsO>.
|
hello any news on the create-react-app issue?
still waiting for your support.
…________________________________
From: Dan 10Abramov <[email protected]>
Sent: Saturday, February 18, 2017 7:07 AM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Author
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
Can you show a screenshot of how you run it? Are you using Cmd or PowerShell?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwr3nq2CmfApWQkAeEKZzQoWqSVuT1ks5rdt8DgaJpZM4MFAsO>.
|
I don't see a PowerShell screenshot, can you attach it please? Please keep in mind this is an open source project. We try to help you but since this issue doesn't occur for a vast majority of users, we will need more help and information to diagnose it. |
powershell image onclosed.....
in was enclosed the last time but it had a white background and easy to miss...
Regards,
"LuisCarlos"
…________________________________
From: Dan Abramov <[email protected]>
Sent: Monday, February 20, 2017 6:58 PM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Author
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
I don't see a PowerShell screenshot, can you attach it please?
Please keep in mind this is an open source project. We try to help you but since this issue doesn't occur for a vast majority of users, we will need more help and information to diagnose it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwr_qygOSXrDmAL4N1fJszoxUo21Ljks5reijCgaJpZM4MFAsO>.
|
I think you'll need to use GH web interface. If you're attaching a file via email, it gets ignored. |
Dan,
I'm also following one of your react-redux tutorials with webpack and I'm getting an error when including the react modules. something about loaders and I don't understand what the error is all about. a copy of the error image is included...
please note the image has a white background.
Reards,
"LuisCarlos"
…________________________________
From: Dan Abramov <[email protected]>
Sent: Monday, February 20, 2017 6:58 PM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Author
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
I don't see a PowerShell screenshot, can you attach it please?
Please keep in mind this is an open source project. We try to help you but since this issue doesn't occur for a vast majority of users, we will need more help and information to diagnose it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwr_qygOSXrDmAL4N1fJszoxUo21Ljks5reijCgaJpZM4MFAsO>.
|
at the risk or sounding like a twit,, what's GH
LuisCarlos
…________________________________
From: Dan Abramov <[email protected]>
Sent: Monday, February 20, 2017 7:17 PM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Author
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
I think you'll need to use GH web interface. If you're attaching a file via email, it gets ignored.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwryLOzdQO2DBpTsXM3BSgnmG52cssks5rei0JgaJpZM4MFAsO>.
|
@dcu-sharepoint GH = GitHub. You can drag images onto the text entry box on this issue on github.com and it will upload the image to GitHub and include it in your message. It's not possible to send images from email (as far as I know). |
Dan,
let's start all over again,
my apologies, I thought I was working with somebody else from who m I bought a course on REACT and one of the objects they gave me to work with was this create-react-app which I've not been able to get going and for some reason I thought you were with them....
anywho: in looking at the email address and your suggestion of working with GH then I put 2 & 2 together and now I FEEL LIKE THE TWIT I tried to avoid being....
anywho: I do not have the GIT UI user interface installed. I only have the GIT CLI which I use for everything I do with Git Hub.
is there any other way I can send you the images or do I have to go somewere in GIT get on the issues thing....
Thanks for your help, but up to now I was completly lost....
LuisCarlos
…________________________________
From: Dan Abramov <[email protected]>
Sent: Monday, February 20, 2017 7:17 PM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Author
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
I think you'll need to use GH web interface. If you're attaching a file via email, it gets ignored.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwryLOzdQO2DBpTsXM3BSgnmG52cssks5rei0JgaJpZM4MFAsO>.
|
Thank you much;
i'm on the GH site now and will be putting my images on the issue
Unable to create an APP #1594
thanks for your help....
and you're right, now to include images on the email....
…________________________________
From: tbillington <[email protected]>
Sent: Monday, February 20, 2017 7:29 PM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Mention
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
@dcu-sharepoint<https://github.com/dcu-sharepoint> GH = GitHub. You can drag images onto the text entry box on this issue and it will upload the image to GitHub and include it in your message. It's not possible to send images from email (as far as I know).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwr4ZG-TAx2IkriUr8V88uSvDnW2XBks5rei_QgaJpZM4MFAsO>.
|
Let's continue the discussion in this topic. #1594 is an unrelated thread. What I'm seeing from your screenshot in #1594 (comment) is that Yarn command doesn't seem to work correctly. I think this might be a Yarn bug: yarnpkg/yarn#2192. You can try the workarounds described in it, but I'd suggest just uninstalling Yarn for the time being. Create React App will fall back to npm if Yarn isn't installed, and that should solve your issue. Hope it helps! |
I noticed the yarn string in the error message, however, I tried both NPM and YARN and both give me the same error or behaviour...
will uninstall yarn and try it again.
will visit this at github....
Thanks
…________________________________
From: Dan Abramov <[email protected]>
Sent: Monday, February 20, 2017 8:29 PM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Mention
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
Let's continue the discussion in this topic. #1594<#1594> is an unrelated thread.
What I'm seeing from your screenshot in #1594 (comment)<#1594 (comment)> is that Yarn command doesn't seem to work correctly.
I think this might be a Yarn bug: yarnpkg/yarn#2192<yarnpkg/yarn#2192>. You can try the workarounds described here, but I'd suggest just uninstalling Yarn for the time being. Create React App will fall back to npm if Yarn isn't installed, and that should solve your issue.
Hope it helps!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwrwHL56EOw_Gr2zAF1KH7VbO_uF9Fks5rej3igaJpZM4MFAsO>.
|
To be clear, Create React App always uses Yarn if it is installed. So I recommend trying to uninstall it, and then Create React App will fall back to npm. If this solves the problem, then it was a Yarn bug. |
yarn is COMPLETELY uninstalled, all of yarn's files, directories, path strings and anything related to yarn has been uninstalled and the system has been rebooted => SAME RESULTS. I don't know what else to do except give up....
I have cloned the CREATE-REACT-APP component from github so I can play with it.... otherwise I can't use it at all....
Thanks for your help.....
…________________________________
From: Dan Abramov <[email protected]>
Sent: Tuesday, February 21, 2017 8:41 AM
To: facebookincubator/create-react-app
Cc: L. Carlos Rodriguez; Mention
Subject: Re: [facebookincubator/create-react-app] create-react-app fails to create a project on windows 10 (#1587)
I tried both NPM and YARN and both give me the same error or behaviour
To be clear, Create React App always uses Yarn if it is installed. So I recommend trying to uninstall it, and then Create React App will fall back to npm. If this solves the problem, then it was a Yarn bug.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1587 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVrwr3Ww6yC-f4liosG2oP4sYoUbAcnSks5reul9gaJpZM4MFAsO>.
|
Maybe you still have a broken Try running npm install -g create-react-app Then try running |
@gaearon Yarn is caputed! create-react-app has been caputed!, system has been rebooted, any folders mentioning yarn have been caputed!. using the windows control panel->programs->uninstall yarn has been executed to remove yarn completely of the system, and the only thing I can think of is if "create-react-app" or yarn puts anything on the registry but I work with a non-administrator account and I did not find anything on the windows registry with yarn in it. still buffled... 👎 :( |
Have you tried what I suggested above?
I think you need to do that to redirect the global command to the new location. |
@gaearon 1: I've removed, re-installed, re-removed, re-re-installed, re-re-removed, re-re-re-failed again... 2: if I move the globals folder then I REALLY will get all screwed up because I have a complete application infrastructure that is working well with REACT and bunch of other Microsoft modules for me and it took me a L O O O N G time to setup, so that is not an option. However, you just gave me an idea that I'm going to try later on in the afternoon and that is to open a new user account and dedicate it to react/create-react-app playground and see if that works, because it will have a virgin globals folder and no yarn corrupting influence. Stay tuned... more to come... |
Sounds good. Sorry for the trouble. Yarn is generally working pretty well but there are annoying bugs like this on some systems. |
yeah, Yarn is also giving me problems with an MS app in widows where it is looking for an apple mac environmental issue in a WINDOWS environment and the app install fails. I posted the issue in the yarn site about a month ago. |
anywho: will keep u posted, Gracias.... |
Going to close this because all the problems appear related to the installation of |
I think that you should start using a Node Console for decompose the issue. Did you had success? I had a problem similar and I solved it using the Node Console. Regards! |
yes node console and -g global settings resolved problem for sure :) |
@gaearon I have done |
phavor, try running from administrator. Right click the command prompt in the search bar, run as admin, then install create-react-app again. This is the equivalent to running sudo on Linux. |
@ali0053 have you tried closing CMD and opening it again? |
@ali0053 |
Can you reproduce the problem with latest npm?
yes; using npm 4.1.2
when executing the command:
create-react-app
the terminal window disappears (ie: exits) and NOTHING GETS CREATED!
tried with and w/o sudo privs with same terminal window results
this happens with create-react-versions 1.0.3 and 1.0.4
have tried to reproduce the issue again and again and again and again and .......
Can you still reproduce it?
yes
Expected behavior
have create-react-app CREATE AN APP!.
Actual behavior
when executing the command:
create-react-app
the terminal window disappears (ie: exits) and NOTHING IS CREATED
tried with and w/o sudo privs with same terminal window results
this happens with create-react-versions 1.0.3 and 1.0.4
have tried to reproduce the issue again and again and again and again and .......
Environment
Run these commands in the project folder and fill in their results:
node -v
: v6.9.5npm -v
: v4.1.2The text was updated successfully, but these errors were encountered: