You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./node_modules/react-native-animatable/createAnimatableComponent.js
SyntaxError: /home/dka/workspace/github.com/pass-culture/pass-culture-app-native/node_modules/react-native-animatable/createAnimatableComponent.js: Support for the experimental syntax 'classProperties' isn't currently enabled (133:24):
131 |
132 | return class AnimatableComponent extends Component {
> 133 | static displayName = `withAnimatable(${wrappedComponentName})`;
| ^
134 |
135 | static propTypes = {
136 | animation: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-class-properties (https://git.io/vb4yQ) to the 'plugins' section to enable parsing.
I have tried to follow the recommendation but couldn't get a working configuration, did anyone succeeded to configure this package with webpack?
The text was updated successfully, but these errors were encountered:
We are experiencing issue configuring webpack with this module because of the class property here:
react-native-animatable/createAnimatableComponent.js
Line 132 in ccafe14
I have tried to follow the recommendation but couldn't get a working configuration, did anyone succeeded to configure this package with webpack?
The text was updated successfully, but these errors were encountered: