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

488
Vistas
Cannot import App.jsx in express || Error [ERR_MODULE_NOT_FOUND]: Cannot find module

I am trying to ssr my react app and it's been months trying, but all I get is this error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'F:\ReactApp\client\src\App'
imported from F:\ReactApp\server\express.js

at first I tried to require it as so

const App = require('../client/src/App')

but I got this error :

Cannot find module '../client/src/App'

so i used module type to use import instead of require as so:

import App from '../client/src/App'

I checked the similar questions but none have worked!

Directory Structure: Directory Structure: Any Ideas?

about 4 years ago · Juan Pablo Isaza
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