Open josejsarmento opened 2 years ago
Yup. I was testing this and seems like it wont work well. In the node_modules folder, you can edit jlinkexe.js
The code should be changed to this:
else if( process.platform.indexOf('linux') !== -1 ){ return "JLinkExe"; }
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.js