Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

228
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda