-
-
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
"yarn run eject" ejected succcessfully, but followed by "The batch file cannot be found." #2030
Comments
Can you share this “complete log”?
|
yeap, here it is.
|
This is very odd. I don't know what's causing this. 😞 |
maybe related? http://stackoverflow.com/questions/26240414/jenkins-deleting-batch-file-before-its-completed it's jenkins but the symptoms pretty similar @phoa do you able to consistently replicate this problem? eg. tried to create another CRA instance and eject it? |
@viankakrisna It consistently happens when I eject (10 tries). Same thing happens when I tested it on my colleague's computer. I kinda suspect that this may be caused by some corporate settings applied to our computers. |
I get the same error, running Windows 10. Exact same entries in my log file. |
This is happening in windows CI for PR #2400 Looks like it might be to do with running the latest version of yarn (0.24.5) as thats the only change that the PR makes |
Got this message too, Windows 10. |
Got same error, Windows 8. |
Got same error on windows 10. FWIW, sharing the logs too.
|
Does anyone want to look into why this happens? I don't know enough about Windows. |
I can't reproduce this on a Windows laptop. Tried both Cmd and PowerShell, both npm and yarn. |
@gaearon - my setup is as follow:
A colleague of mine has the same setup, and he also got the same error message. Up till now, the ejected version is still running fine without problem for me, despite the error message during eject. |
Same, works fine despite the message.
Can't find anything special about my setup apart from that. |
same prob... any solution ... I dont running yarn together :( |
New to react-native and facing the same problem. Any update to this in the last one year?
|
I just had the same problem...same err messages, same debug log. If you are using Git make sure you do a commit before running eject, it worked for me! |
Can you reproduce the problem with latest npm?
Yes.
Description
I started a fresh project with
create-react-app
.yarn start
andyarn run build
runs as expected. However, when runningyarn run eject
, it shows Ejected successfully!, but followed byI also tried
npm run eject
where it shows more error message:Should I worry about this?
yarn start
andyarn run build
still run fine after eject tho.Expected behavior
No error message after Ejected successfully!
Actual behavior
Got error message after Ejected successfully!
Environment
npm ls react-scripts
(if you haven’t ejected): react-scripts@0.9.5node -v
: 6.10.2npm -v
: 4.5.0Operating system: Windows 7 (behind corporate firewall)
Browser and version: Chrome 53.0.2785.116
The text was updated successfully, but these errors were encountered: