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
JSXSpreadChildren #4988
JSXSpreadChildren #4988
Conversation
Current coverage is 89.10% (diff: 100%)
|
I forgot what the end result was - so we add it as a node but if it's used in react throw? Ok cool and since its already unknown this won't be breaking |
This is breaking, had to remove react preset from project. Otherwise meteor would Throw this on build...
Discussion here, as multiple people were impacted throughout the day: Any idea on how to fix this ? Is it safe to remove react preset ? The app seems to work perfectly with "stage-2" preset. Many thanks! |
@hzoo, seems |
we're seeing a similar error on our CI runs (not using meteor) |
@jquense Well I think it is not particularly related to meteor as the meteor build tool uses the babel setup from package.json/.babelrc so it should happen on any js/react/babel project that uses babel-plugin-transform-react-jsx... |
@jridgewell Thanks for having a look, even if it is a pre xmas weekend! ;-) I guess I can live without the react preset until this is fixed. |
Babel-types is published 77d9e3e the issue seems to be that unless you rm node_modules the server version is still satisfied on an older version such that you get that error because a different pkg updated but babel-types isn't updated |
Stuck at the airport, but sounds like we may need to just revert or republish all pkgs again? |
@hzoo No worries! As far as I am concerned I will enjoy the rest of the weekend and get back to the task on Monday! |
FWIW If you are using React Intl this is a show stopper. Removing the react preset allows the app to boot and load, but now the babel-plugin-react-intl plugin is not working, causing the translation step to fail (no messages detected) and in turn the pages will not load. I tried downgrading babel but still the same issue. What else can I try to get back up and running? |
@zachariahtimothy That is exactly what puzzles me. How downgrading the package doesn't solve the issue. It literally freaks me out...tough lesson learned on npm package/dependency management. |
So sorry about this, been trying to figure out releases/versioning in Babel for a while and haven't really figured out much. Hopefully we can solve this kind of issue in the future. Downgrading babel-core doesn't do anything because the error has to do with a dep breaking on an older version of babel-types while something else is later - seems to be a issue with us + monorepo without updating all packages but not entirely sure. |
@hzoo thanks for the update. I hope we can get back to work soon... |
We're planning on rolling back the |
Revert babel-helper-builder-react-jsx change from #4988
Alright I've published
error. It should be pulled in automatically since things depend on general ranges. @teknologist Please ensure you get that new version and let us know how things look. |
@loganfsmyth Yes, seems fixed. babel-helper-builder-react-jsx is at the right version:
Error is gone indeed. Many thanks! |
It is working for me again, both reading messages, starting app, and unit tests. Thanks a bunch @loganfsmyth ! |
Follow up to #3575, since that one seems to have stalled. Adds throwing when
transform-react-jsx
encounters a spread child.