-
Notifications
You must be signed in to change notification settings - Fork 57
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
TransformError on bundling w/ RefreshControl.js #216
Comments
This command can be used to generate the error:
|
This seems to be related to flow-runtime lacking babel 7 support #184. Fwiw, "babel-types" is babel version 6. Perhaps that is causing the underlying issue. I've since removed flow-runtime support from master branch of https://github.com/semireg/RNSemiBoilerplate. |
This is turning out to be a very interesting error and possibly a bug. I distilled the issue down to this failing test:
When Here's the offending lines from RefreshControl.js:
And low and behold... facebook/react-native@a06c0da 💯 I'm going to leave this issue open until it gets released. |
Summary: I removed `var` in Libraries/Component. - [x] npm run prettier - [x] npm run flow-check-ios - [x] npm run flow-check-android [GENERAL] [ENHANCEMENT] [Libraries/Component] - remove `var` Pull Request resolved: #22020 Differential Revision: D12843058 Pulled By: TheSavior fbshipit-source-id: 90723f3905191cbd29cb18474c700ac65f2503cd
This is a:
Which concerns:
What is the current behaviour?
Reproducible repo at https://github.com/semireg/RNSemiBoilerplate/tree/fa3829669fda5cb5396eea26a6021513103f7357. This react native boilerplate uses RN 0.57.4, babel 7, flow, flow-runtime, immutable, redux, redux-immutable.
App build is broken due to TransformError when native app loads bundle.
iOS:
Android:
What is the expected behaviour?
Build should bundle and load without error.
I've tried clearing my caches/tmp directories, build assets, etc via:
If the repo above does not reproduce the error, can anyone think of other directories that I need to reset that could be tainted?
I have searched GitHub issues, Google, and Stack Overflow and can not find any similar issues.
Which package versions are you using?
.babelrc
The text was updated successfully, but these errors were encountered: