Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Building time is increased after adding NativeScript/nx

Abierto
#11 1 comentario 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
typescript

Línea de trabajo

Reproduce npx nx run mobile-app-nativescript:ios repetidamente tanto en los workspaces existentes como en workspaces vacíos y compara el retraso antes de que se ejecute el destino de NativeScript. Reproduce también npx nx g @nativescript/nx:app <app-name> con y sin agrupación para comparar los nombres generados. Se considera completado cuando las compilaciones repetidas ya no incurren en el retraso prolongado y la nomenclatura de las apps se comporta de forma consistente.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!

Lenguaje dominante
TypeScript
Estrellas
68
Forks
15
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NativeScript/nx

Todos los issues de NativeScript/nx

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.