./node_modules/react-native-reanimated/lib/index.js 4:9 Module parse failed: Unexpected token (4:9) File was processed with these loaders:
- C:\Users\Carlos Pungu\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-loader\lib\index.js
CodePudding user response:
Yes, this problem also occurred to me. You can install the npm package. If you already installed it, please try to install it again.
npm install react-native-reanimated
If it doesn't work. Please ping me.
CodePudding user response:
Are you sure that you added Reanimated plugin to babel.config.js?
plugins: ['react-native-reanimated/plugin']
more info: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation#babel-plugin