NativeScript / NativeScript/nativescript-cli

platform not properly prepared after previous command crash

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

Nessuno ha ancora preso questa issue.

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

Descrizione

  • CLI: 6.0.2

After running preview command, and the command crashes you cannot run the project. Platform folder is not populated with all needed files and prepare is not executed correctly again on run. Build fails with: Unable to apply changes on device: ZX1G424P6K. Error is: spawn gradlew.bat ENOENT.

To Reproduce

  1. tns create jsApp --js
  2. tns preview
  3. Scan the QR code on ios, then scan on android. The command crashes.
  4. tns run android build fails. Platform android is not correctly prepared
    log.txt

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

Start by reproducing the crash with the listed tns create, tns preview, and tns run android commands, then inspect log.txt and the preview crash cleanup and platform preparation flow. Done means a crash during preview does not leave the Android platform incomplete, and a subsequent tns run android prepares and builds successfully.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.