Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Building time is increased after adding NativeScript/nx

Aperta
#11 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
typescript

Direzione di ricerca

Riproduci npx nx run mobile-app-nativescript:ios ripetutamente sia nei workspace esistenti sia in workspace vuoti, quindi confronta il ritardo prima dell'esecuzione del target NativeScript. Riproduci inoltre npx nx g @nativescript/nx:app <app-name> con e senza raggruppamento per confrontare i nomi generati. Il lavoro è completato quando le build ripetute non comportano più il lungo ritardo e la denominazione delle app si comporta in modo coerente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi, I'm going to use this plugin, it's really very nice, easy and without any extra things.

I have added NativeScript/nx plugin, then added NativeScript application to my existing nx workspace. After that I detected that the build/run process takes extremely long time. First time when I run the app, the build process took not so long, but next times it's extremely slow.

Flow:

  1. Run: npx nx run mobile-app-nativescript:ios
  2. delay: 2m 40sec (from 2 to 3 mins)
  3. After this crazy delay appears: > nx run app-nativescript:ios
  4. Then select a device and everything goes fine and with usual speed.

The problematic step marked bold.

I've to tried create a new workspace and it has the same behaviour. The first build with no delay, but second and all next with long delay. Only one difference, in the new empty workspace, the delay not so long, it's approx 30 sec.

And one more thing. In my existing workspace command npx nx g @nativescript/nx:app <app-name> always works like with flag --groupByName. So, with float or without, I can't create an app with the name nativescript-app, it always creates app-nativescript. BUT with created a new workspace it works correct. Could be it's related to xplat plugin. Currently I have a nativescript app in the workspace under xplat, but I'm going to migrate to NativeScript/nx.

Waiting for your fix :)
Thanks!

Lingua principale
TypeScript
Stelle
68
Fork
15
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NativeScript/nx

Tutte le issue di NativeScript/nx

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.