-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Serve crashes if the app is ejected #51
Comments
@angelcustodio you fixed this? |
Running |
@angelcustodio I fixed this by installing few packages for babel, edited server/index.js config, edited babel config in package.json and edit webpack.config.js. Also I removed Here's my gists of working configs: You can make diff and see what you must change after eject P.S. Configs are prettified with prettier, sorry :) |
@koyta would really love to see the diff of the changes so i can apply them easier. |
Hey, my apologies for the long wait @angelcustodio - I'm looking to ensure this is fixed with version 2.0. If you're interested, I could really use your thoughts for what you'd like to see in the upcoming version. Feel free to comment on the issue here with any suggestions. :) @12finger @koyta In the future we will support both ejected and non-ejected CRA builds. |
Everything works fine without ejecting the app but if you
yarn eject
, then... 💥yarn build
do the job correctly butyarn serve
returns this problem:I assume it's related with Node being unable to resolve ES6 imports, right?
Is there any workaround or solid fix for it? Maybe
babel-node
?The text was updated successfully, but these errors were encountered: