question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ECONNRESET issue when run tns run android

See original GitHub issue

PS C:\apps\NS_helloworld\helloworld0315> tns run android Searching for devices… Starting Android emulator with image Jason Waiting for emulator device initialization… Executing before-liveSync hook from C:\apps\NS_helloworld\helloworld0315\hooks\before-liveSync\nativescript-angular-sync.js Copying template files…

  • Installing tns-androidInstalling tns-android C:\apps\NS_helloworld\helloworld0315 `-- tns-android@3.4.1

  • Installing tns-androidError: read ECONNRESET at exports._errnoException (util.js:1050:11) at TCP.onread (net.js:581:26)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fipolhuangcommented, Mar 16, 2018

@NickIliev great thanks for you help, according to your suggestion, it works fine now.

0reactions
NickIlievcommented, Mar 16, 2018

@fipolhuang from the screenshot above it appears that the emulator was not started before running the command tns run android. Try starting the emulator manually before executing the run command.

Another thing you could do is to update your Node.js and NPM as suggested here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: read ECONNRESET when using Android Emulator
The emulator runs for a while and then it shows up. When the error shows up the debugger disconnects from the Android Emulator,...
Read more >
tns run - NativeScript Docs
Runs your project on all connected devices or in native emulators for the selected platform.The command will work with all currently running Android...
Read more >
tns run ios; does not install app | Telerik Forums
I just wanted to report a small problem I've ran into with the `tns run` command. I've found that `tns run android`, `tns...
Read more >
Nmap Change Log
It was useful back when you could just unzip it and run Nmap from there, ... [NSE][GH#716]Fix for oracle-tns-version which was sending an...
Read more >
Untitled
Plongeon falaise acapulco, World kids book, Cif military gear issue, Laskar pembela ... Interesting facts about japanese, Olympic athletics running rules, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found