NativeScript / NativeScript/nativescript-cli

Livesync fails when runtime version is tag string

Aperta
#4,539 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug severity: low
Lingua principale
JavaScript
Stelle
1.1k
Fork
204
Merge medio
1g 9h
PR unite (30g)
8

Descrizione

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.3.2
  • Cross-platform modules: 5.3.1
  • Android Runtime: next
  • iOS Runtime: next

Describe the bug
When developing the tns-core-modules we often have next version tags set to the runtimes. This works fine with initial tns run, but if I checkout another branch, the next version tag returns and run the app again, it is built, installed and fails at deploy with invalid version: next.

To Reproduce

  1. Set next version tag to either ios or android runtime versions.
  2. Run tns run. This changes the runtime version to the actual next version string.
  3. Set the runtime version tag to next again - this simulates checking out another branch.
  4. Run tns run again.
    Result: fails with invalid version: next after build.

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.

Direzione di ricerca

Riproduci il problema eseguendo tns run con la versione del runtime Android o iOS impostata su next, quindi ripeti dopo aver ripristinato quel tag. Traccia la gestione della versione del runtime da parte della CLI in prossimità del passaggio di deploy; il lavoro è completato quando la seconda esecuzione esegue correttamente la build, l’installazione e il deploy senza riportare invalid version: next.

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

Valutazione

Stack tecnologico
android, ios, javascript
Ambito
cli, mobile
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.