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.

App crashes after a while: `Error: Command failed: arp -a`

See original GitHub issue

After about 40 seconds of not being in VSCode I get this error:

node:internal/errors:856
  const err = new Error(message);
              ^

Error: Command failed: arp -a

    at ChildProcess.exithandler (node:child_process:389:12)
    at ChildProcess.emit (node:events:537:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: null,
  killed: true,
  signal: 'SIGTERM',
  cmd: 'arp -a'
}

Node.js v18.5.0

OS: macOS Monterey, MacBook Air 2017 Node Version: v18.5.0

Any help would be greatly appreciated, since this project is very important! Reagards, Alex

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Creative-Difficultycommented, Aug 13, 2022

I just wrote an alternative in 40 lines of code. Running arp -a DOES work. This issue is with your module. Its very slow btw. (With local-devices my apps startup-time was 10-15s, now its 2-5s). BRUH

0reactions
DylanPierceycommented, Aug 13, 2022

Also jsyk this module does use arp -a. The reason it’s slower is because it ensures the arp table is populated via pings. I believe using arp -a alone will not give you complete results. However if that works for your use case then great!

https://stackoverflow.com/a/53233072

Read more comments on GitHub >

github_iconTop Results From Across the Web

command failed due to signal: segmentation fault: 11
It came up with an error, "command failed due to signal: segmentation fault: 11". ... This is not your app crashing, but the...
Read more >
Npm run dev crashes randomly #8639 - nuxt/nuxt.js - GitHub
UPDATE: This error disappears when using a CLI other than the integrated terminal within VS Code. This error doesn't happen as often when...
Read more >
ip neigh/arp command does not work after upgrading ...
The current APIs in Android doesn't allow apps to access the ARP cache. I see a bug is raised in Google issue tracker...
Read more >
Fix Apps Crashing on M1 Pro/Max Mac After Migration ...
The solution to fix the app crashing problem is rather straightforward; install Rosetta in macOS again. Hit Return to execute the command, and ......
Read more >
Cross Platform Release Notes for Cisco IOS Release 15.5M&T
IPSec background crash while sending SNMP trap ... KS merge fails for groups with TBAR due to PST update failure on primary KS....
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