App crashes after a while: `Error: Command failed: arp -a`
See original GitHub issueAfter 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:
- Created a year ago
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I just wrote an alternative in 40 lines of code. Running
arp -aDOES work. This issue is with your module. Its very slow btw. (Withlocal-devicesmy apps startup-time was 10-15s, now its 2-5s). BRUHAlso 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 usingarp -aalone will not give you complete results. However if that works for your use case then great!https://stackoverflow.com/a/53233072