React native framework , I have some problem with my app ,when I try to execute Npm start , help me please

Viewed 700

./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
3 Answers

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.

Installation

npx expo install react-native-reanimated

after the installation completes, you must also add the Babel plugin to babel.config.js:

plugins: ['react-native-reanimated/plugin'],
Related