Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

137
Vistas
Issue with starting a new React-Native project

I'm starting a new project in React Native, and I'm running it with Expo Go on my phone. I only have two files, "App.js" and "SearchScreen.js". Every time I go to run the code I have in Expo Go, it successfully bundles, and then the app crashes (so I don't see an error, or know what my error is). I know it's not a problem with Expo Go because when I run the default code that comes with a blank react native app, it loads and functions correctly. The code in App.js and SearchScreen.js comes from a class that's a couple of years old, and I suspect that my problem may relate to that.

Because there's no error message, I'm not sure how to proceed. Does anyone know a solution to this?

Thanks in advance.

App.js:

import { createAppContainer } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';
import SearchScreen from './src/screens/SearchScreen';

const navigator = createStackNavigator(
  {
    Search: SearchScreen,
  },
  {
    initialRouteName: 'Search',
    defaultNavigationOptions: {
      title: 'Business Search',
    },
  }
);

export default createAppContainer(navigator);

SearchScreen.js:

import React from 'react';
import { View, Text, StyleSheet } from 'react-native';

const SearchScreen = () => {
  return (
    <View>
      <Text>Search Screen</Text>
    </View>
  );
};

const styles = StyleSheet.create({});

export default SearchScreen;
about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

I ran expo install react-native-gesture-handler and that fixed the problem for me.

When running my program on web, I was getting messages such as:

  • export 'ComposedGestureType' (reexported as 'ComposedGesture') was not found in './handlers/gestures/gestureComposition'
  • export 'ExclusiveGestureType' (reexported as 'ExclusiveGesture') was not found in './handlers/gestures/gestureComposition'

Now it's working on my phone again.

about 4 years ago · Santiago Gelvez Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda