RN 0.56 - bundle error "A trailing comma is not permitted after the rest element"
See original GitHub issueIssue type
- bug report
- feature request
Issue description
Right after init plain, fresh react-native app (RN version 0.56) and adding react-native-ui-kitten
I am getting following error:
/node_modules/react-native-ui-kitten/src/components/image/rkModalImg.js: A trailing comma is not permitted after the rest element (277:17)
275 | index,
276 | style: imgStyle,
> 277 | ...imgProps,
| ^
278 | } = this.props;
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
object-rest-spread is not allowed trailing commas in babel 7
Trailing commas for object rest is not supported in EcmaScript standard, i.e. it's not valid code. If you previously had commas there then...
Read more >A trailing comma is not permitted after the rest element (9:32)
SyntaxError: A trailing comma is not permitted after the rest element (9:32) ... the bug Removed trailing comma, which is a breaking change...
Read more >Object-Rest-Spread Is Not Allowed Trailing Commas In ... - ADocLib
I've just upgraded to React Native 0.56 which moved to Babel 7. And here the error I've got: error: bundling failed: SyntaxError: /Users/....
Read more >react-native-codegen | Yarn - Package Manager
Stop styles from being reset when detaching Animated. ... Revert "Fix TextInput dropping text when used as uncontrolled component with defaultValue " to...
Read more >2020-2021-ccc-plus-encounter-data-validation-aggregate ...
validity of key data elements in the encounter data. ... maternity/prenatal claims that pay as a bundle, even though there are no bundled...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Why does it take so much time to remove a comma and push a commit? I’m new to these report issues stuff, there’s also many libraries that break my code just by installing and importing them
+1 as well