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

252
Visualizações
TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[11]

I'm currently building a ecommerce app while I was running the app suddenly i encounter this error, I have tried alot of things but nothing seems to work this is my first ecommerce app so i might have done something wrong, I just want to know what it is. Error is occurred on line line 43 ( <AppStack.Screen name="Product" component={ProductNavigator} />)

import * as React from 'react';
import {ThemeProvider} from '@shopify/restyle';
import {NavigationContainer} from '@react-navigation/native';
import {enableScreens} from 'react-native-screens';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import {Container} from 'native-base';

/* Utils */
import theme from './src/components/theme';
import {createStackNavigator} from '@react-navigation/stack';

/* Routes */
import {ProductNavigator} from './src/components/Products';
import {AuthNavigator} from './src/components/Authentication';

/* Import Redux */
import {useDispatch} from 'react-redux';
import {useEffect} from 'react';
import {loadUser} from './src/store/actions/authActions';

enableScreens();

type SharedStackParams = {
  Auth: undefined;
  Product: undefined;
};

const AppStack = createStackNavigator<SharedStackParams>();

export default function App() {
  const dispatch = useDispatch();

  useEffect(() => {
    dispatch(loadUser());
  }, []);

  return (
    <NavigationContainer>
      <ThemeProvider {...{theme}}>
        <Container style={{flex: 1}}>
          <SafeAreaProvider>
            <AppStack.Navigator headerMode="none" initialRouteName="Auth">
              <AppStack.Screen name="Product" component={ProductNavigator} />
              <AppStack.Screen name="Auth" component={AuthNavigator} />
            </AppStack.Navigator>
          </SafeAreaProvider>
        </Container>
      </ThemeProvider>
    </NavigationContainer>
  );
}
about 4 years ago · Juan Pablo Isaza
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