-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
[Packager] RCTPOPAnimationManager.js - syntax error after conversion with babel #1526
Comments
is this valid syntax or is the issue with the transformer? |
Ran into this myself on facebook/react-native#8b93b9 installing from https://github.com/rnplay/rnplay-ios/tree/c97ebe51860abcc249a9cbbf754b3bc8e0ddaad0 |
Fixed via babel/babel@64f4209. This should have been reported on the babel/babel repo 😄 |
Thanks @sebmck! |
@amasad looks like the next step is to upgrade babel |
Why is the Babel version fixed 😨 |
I believe it has to do with how fb internally downloads npm packages. It'd be better for the external community for fb to use semver's caret in react-native's package.json, run |
What @ide said re npm packages. Actually, since we are currently checking in the modules internal, I don't see any harm in unpinning the dependencies. Anyways, we want to update Babel anyways, to get the new perf wins. @DmitrySoshnikov: I believe you were starting to update babel? |
Yep. |
Based on the docs Pop animation is no longer supported, deprecated in favor of Animated. |
Yeah, also we're not seeing this error anymore, thanks @browniefed |
In Libraries/BatchedBridge/BatchedBridgedModules/POPAnimation.js the following block is invalid after transpiling it with babel:
It will turn to
resulting in a syntax error because of the broken
moule.exports
assignment.The text was updated successfully, but these errors were encountered: