Skip to content
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

Eject doesn't work #31

Closed
dbismut opened this issue Mar 13, 2017 · 5 comments
Closed

Eject doesn't work #31

dbismut opened this issue Mar 13, 2017 · 5 comments

Comments

@dbismut
Copy link

dbismut commented Mar 13, 2017

I realized that yarn run eject throws the following error in the console:

(node:21537) UnhandledPromiseRejectionWarning:
Unhandled promise rejection (rejection id: 1):
Error: ENOENT: no such file or directory, open
'/Users/david/repos/test-inferno/node_modules/inferno-scripts/.babelrc'
(node:21537) DeprecationWarning: Unhandled promise rejections are deprecated.
In the future, promise rejections that are not handled will terminate the Node.js process
with a non-zero exit code
@Havunen
Copy link
Member

Havunen commented Mar 13, 2017

Looks like babelrc should be renamed to .babelrc

@dbismut
Copy link
Author

dbismut commented Mar 13, 2017

Well the .babelrc file had been renamed to babelrc in one of the commits from create-react-app. In any case I just found out that this is indeed a bug in create-react-app. See here facebook#1806 (comment)

@gaearon
Copy link

gaearon commented Mar 13, 2017

FYI: I don’t recommend tracking master of Create React App and releasing it in forks. Master is never ready. It is much safer to apply your changes on top of the latest stable release.

@Havunen
Copy link
Member

Havunen commented Mar 13, 2017

Okay, thanks for Info @gaearon

@gaearon
Copy link

gaearon commented Mar 13, 2017

Yea, sorry about it. I guess it’s not super intuitive. If you have suggestions on how we could do this better please raise an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants