NativeScript / NativeScript/nativescript-cli
'tns create' hangs for half an hour and then fails
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.1k
- Fork
- 204
- Merge medio
- 1g 9h
- PR unite (30g)
- 8
Descrizione
@ezpzlmnsqzy1 commented on Thu Jun 27 2019
Environment
Result of tns info:
Component nativescript has 5.4.2 version and is up to date.
Describe the bug
Running the command tns create HelloWorld --template tns-template-blank results in a hang with no output for roughly half an hour before failing with the message request to https://registry.npmjs.org/tns-template-blank failed, reason: read ECONNRESET
Expected behavior
A project is created
Additional context
I suspect this is related to me being behind a company proxy. However, I set my proxy info using tns proxy set with no change to the behavior. Setting the same proxy info in many other programs and tools works just fine, so I'm not entirely sure this is the cause of the issue here
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia eseguendo tns create HelloWorld --template tns-template-blank con la configurazione proxy segnalata e osserva la richiesta a registry.npmjs.org. Traccia quindi la gestione del proxy e del download del template da parte della CLI, poi verifica che il comando crei il progetto oppure fallisca rapidamente con un errore utile, invece di rimanere bloccato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- cli, networking
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100