Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

423
Views
¿Por qué aparece el error "Ninguno de estos archivos existe:", aunque el archivo existe?

Estoy tratando de importar algo de ./components/task usando esta línea de código:

 import Task from './components/task';

pero me sale el error

 None of these files exist: * components\task(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json) * components\task\index(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json) 1 | import React from 'react'; 2 | import { StyleSheet, Text, View } from 'react-native'; > 3 | import Task from './components/task'; | ^ 4 | 5 | export default function App() { 6 | return (

No tengo idea de por qué estoy recibiendo este error. La captura de pantalla muestra claramente que la ruta existe.

Este es el error que recibo, aunque la ruta existe.

https://i.imgur.com/VhMWUHt.png

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

de The Photo and code, no veo nada malo, pero trato de poner ".js" después de ./components/task.js, solo inténtalo.

O verifique que el código de la tarea sea correcto o tenga el valor predeterminado de exportación

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!