Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

227
Views
You gave us a visitor for the node type TSInstantiationExpression but it's not a valid type

After expo update, my project not working

The error is:

Failed building JavaScript bundle.
node_modules\react-native-gesture-handler\src\index.ts: [BABEL] D:\data\Anonymous\ReactNative\test\node_modules\react-native-gesture-handler\src\index.ts: You gave us a visitor for the node type TSInstantiationExpression but it's not a valid type

The dependencies of the project are:

packages: {
    "@react-navigation/bottom-tabs": "^6.3.1",
    "@react-navigation/drawer": "^6.4.1",
    "@react-navigation/native": "^6.0.10",
    "@react-navigation/stack": "^6.2.1",
    "expo": "~45.0.0",
    "expo-barcode-scanner": "~11.3.0",
    "expo-status-bar": "~1.3.0",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-native": "https://github.com/expo/react-native/archive/sdk-45.0.0.tar.gz",
    "react-native-gesture-handler": "~2.2.1",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-paper": "^4.12.1",
    "react-native-reanimated": "~2.8.0",
    "react-native-safe-area-context": "4.2.4",
    "react-native-screens": "~3.11.1",
    "react-native-vector-icons": "^9.1.0",
    "react-native-web": "0.17.7",
}
about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

I´ve encountered the same error, fixed it by upgrading my expo-cli with yarn global add expo-cli.

about 4 years ago · Juan Pablo Isaza Report

0

After couple of days struggling found what caused the issue. Everything started with the release of babel-core: 7.18.0. The problem in my case was different versions of babel in my project and expo. Fixed it by upgrading expo's version in %APPDATA%\Roaming\npm\node_modules\expo-cli\package.json. You should delete node_modules in this folder and run npm install. I would say your issue is similar but with different package

about 4 years ago · Juan Pablo Isaza Report

0

Its either an issue with the new v7.18.0 babel core release or a conflict with expo if you are using an older version. In my project we're using "expo": "41" and as a result, I needed to locked babel core to version "@babel/core": "7.17.12".

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!