Uncaught Error: Module parse failed: Unexpected token (3:9) File was processed with these loaders:

Viewed 17

am new in programming. trying to follow a tutorial on a Crypto wallet that displays real charts, but error message 1 I got these errors below.

Thanks in advance for your help.

my dependencies

This is the error message on my console:

wrapNativeSuper.js:42 Uncaught Error: Module parse failed: Unexpected token (3:9)
File was processed with these loaders:
 * ./node_modules/@expo/webpack-config/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| import "./reanimated2/js-reanimated/global";
| export * from "./reanimated2";
> export * as default from "./Animated";
    at ./node_modules/@rainbow-me/animated-charts/node_modules/react-native-reanimated/lib/index.web.js (wrapNativeSuper.js:42:1)
    at __webpack_require__ (bootstrap:789:1)
    at fn (bootstrap:100:1)

These are my dependencies:

"dependencies": {
    "@rainbow-me/animated-charts": "^1.0.0-alpha.6",
    "@react-navigation/bottom-tabs": "^6.4.0",
    "@react-navigation/native": "^6.0.8",
    "@react-navigation/stack": "^6.1.1",
    "axios": "^0.27.2",
    "expo": "^46.0.10",
    "expo-font": "^10.0.5",
    "expo-updates": "^0.14.5",
    "express": "^4.18.1",
    "moment": "^2.29.4",
    "react": "18.0.0",
    "react-dom": "18.0.0",
    "react-native": "0.69.5",
    "react-native-reanimated": "~2.9.1",
    "react-native-safe-area-context": "4.3.1",
    "react-native-svg": "12.3.0",
    "react-native-web": "~0.18.7",
    "react-navigation-tabs": "^2.11.2",
    "react-redux": "^8.0.2",
    "redux": "^4.2.0",
    "redux-thunk": "^2.4.1",
    "request": "^2.79.0"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@expo/webpack-config": "^0.16.19"
  },
0 Answers
Related