You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on a Raspberry Pi 4, Raspberry Pi OS lite 64, JLink V7.64e, npm 8.8.0
I have installed the NRFJprog terminal tools and JLinkExe for Linux Arm 64.
Using any of the instructions in the README, such as the following program.js:
> start
> node program.js
node:events:505
throw er; // Unhandled 'error' event
^
Error: spawn JlinkExe ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn JlinkExe',
path: 'JlinkExe',
spawnargs: [
'-device',
'nrf51822',
'-if',
'swd',
'-speed',
'4000',
'-autoconnect',
'1'
]
}
Typing JLinkExe directly on the terminal opens the program, so it's correctly installed. Is this because the module is trying to call JlinkExe with a lowercase "L" instead of uppercase? I think this is done in line 43 of ./lib/jlinkexe.js
The text was updated successfully, but these errors were encountered:
Working on a Raspberry Pi 4, Raspberry Pi OS lite 64, JLink V7.64e, npm 8.8.0
I have installed the NRFJprog terminal tools and JLinkExe for Linux Arm 64.
Using any of the instructions in the README, such as the following program.js:
results in the following error:
Typing
JLinkExe
directly on the terminal opens the program, so it's correctly installed. Is this because the module is trying to call JlinkExe with a lowercase "L" instead of uppercase? I think this is done in line 43 of ./lib/jlinkexe.jsThe text was updated successfully, but these errors were encountered: