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

242
Vistas
¿La ruta absoluta no funciona en mi proyecto de reacción?

Estoy usando la última versión en react. Creé el proyecto de reacción y luego me di cuenta de que la ruta relativa no funcionará para el proyecto escalable, así que creé el archivo jsconfig.json y luego intenté importar la ruta absoluta pero no funciona. jsconfig.json

 { "compilerOptions": { "baseUrl": "src", "paths": { "*": [ "src/*" ] } }

}

error

 /src/Components/AllImportFiles/ImportPng.jsx

Módulo no encontrado: no se puede resolver 'Activos/Imágenes/Imagen de mantenimiento del automóvil móvil.png' en '/Users/apple/Desktop/Driveu_Folder/src/Components/AllImportFiles'

 Uncaught Error: Cannot find module 'Assets/Images/cnbc18.png' at webpackMissingModule (ImportPng.jsx:1:1) at ./src/Components/AllImportFiles/ImportPng.jsx (ImportPng.jsx:1:1) at __webpack_require__ (bootstrap:787:1) at fn (bootstrap:150:1) at ./src/Components/BuyAndSell/BuyAndSell.jsx (BuyAndSell.css?c9ef:45:1) at __webpack_require__ (bootstrap:787:1) at fn (bootstrap:150:1) at ./src/Components/Pages/HomePage.jsx (NewsFeed.jsx:78:1) at __webpack_require__ (bootstrap:787:1) at fn (bootstrap:150:1) at ./src/App.js (App.css?da7c:45:1) at __webpack_require__ (bootstrap:787:1) at fn (bootstrap:150:1) at ./src/index.js (index.css?02e3:45:1) at __webpack_require__ (bootstrap:787:1) at fn (bootstrap:150:1) at 0 (reportWebVitals.js:13:1) at __webpack_require__ (bootstrap:787:1) at checkDeferredModules (bootstrap:45:1) at Array.webpackJsonpCallback [as push] (bootstrap:32:1) at main.chunk.js:1:57

y otro error también como

 webpackMissingModule @ ImportPng.jsx:1 ./src/Components/AllImportFiles/ImportPng.jsx @ ImportPng.jsx:1 __webpack_require__ @ bootstrap:787 fn @ bootstrap:150 ./src/Components/BuyAndSell/BuyAndSell.jsx @ BuyAndSell.css?c9ef:45 __webpack_require__ @ bootstrap:787 fn @ bootstrap:150 ./src/Components/Pages/HomePage.jsx @ NewsFeed.jsx:78 __webpack_require__ @ bootstrap:787 fn @ bootstrap:150 ./src/App.js @ App.css?da7c:45. __webpack_require__ @ bootstrap:787 fn @ bootstrap:150 (anonymous) @ main.chunk.js:1 index.js:1437 ./src/Components/AllImportFiles/ImportPng.jsx Module not found: Can't resolve 'Assets/Images/Car Maintanance IMage Mobile.png' in '/Users/apple/Desktop/Driveu_Folder/src/Components/AllImportFiles' console.<computed> @ index.js:1437 overrideMethod @ react_devtools_backend.js:4026 handleErrors @ webpackHotDevClient.js:156 push../node_modules/react-dev-utils/webpackHotDevClient.js.connection.onmessage @ webpackHotDevClient.js:193 push../node_modules/sockjs-client/lib/event/eventtarget.js.EventTarget.dispatchEvent @ eventtarget.js:56
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