NativeScript / NativeScript/nativescript-cli
'tns create' hangs for half an hour and then fails
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
@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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Führen Sie zunächst tns create HelloWorld --template tns-template-blank mit der gemeldeten Proxy-Konfiguration aus und beobachten Sie die Anfrage an registry.npmjs.org. Verfolgen Sie anschließend die Proxy- und Template-Download-Verarbeitung der CLI und überprüfen Sie dann, dass der Befehl entweder das Projekt erstellt oder umgehend mit einem aussagekräftigen Fehler fehlschlägt, anstatt hängen zu bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- cli, networking
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100