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

662
Views
main.tns.ts no se encuentra en la compilación de TypeScript. Migración de Angular a Nativescript

Gracias de antemano por mirar la pregunta.

Comencé una migración de Angular a NativeScript... Cuando ejecuto tns run android --bundle me sale el siguiente error:

 ERROR in ./src/main.tns.ts Module build failed (from ./node_modules/@ngtools/webpack/src/index.js): Error: ..../src/main.tns.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at ..../node_modules/@ngtools/webpack/src/ivy/loader.js:59:26 at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5)

En el archivo tsconfig.tns.json :

 { "extends": "./tsconfig.json", "compilerOptions": { "module": "ESNext", "moduleResolution": "node", "experimentalDecorators": true, "skipLibCheck": true, "baseUrl": "./", "paths": { "@src/*": [ "src/*.tns.ts", "src/*.ts" ] } }, "files": [ "src/main.tns.ts" ] }

Me doy cuenta de que esta pregunta es similar a otras. Sin embargo, probé las sugerencias comunes en vano.

over 4 years ago · Santiago Trujillo
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!