My app does not work any more with nRF Connect Desktop - NODE_MODULE_VERSION 89 required

Hello Nordic Team,

I need your help !

I have developed an App for nRF Connect for Desktop to be able to read and write UICR on device using nRF52 Series chips. It was working with satisfaction until the last update of nRF Connect Desktop (3.9.0)

First, I had to update the Node.js version I was using. Which I did. I'm now using the LTS 16.13.0 version of Node.js.

My application compiles without error and the bundle.js is created correctly.

When I launch the application, a popup appears (see attached picture) and tells me that I'm using the NODE_MODULE_VERSION 93 version when I should use the NODE_MODULE_VERSION 89 version. But I can't find this version in the download.

The package causing this error is pc-nrfjprog-js

Can you help me?

- Mac OS Big Sur
- PyCharm
- NPM 8.1.0
- Node.js 16.13.0

Parents
  • Hi,

    nRF Connect for Desktop version >= 3.8.0 no longer includes pc-nrfjprog-js. That has been replaced by nrf-device-lib-js. You either need to update your app to use nrf-device-lib-js. The nrf-device-lib-js repo is currently not public, but you can find the API documentation in config/index.d.ts inside the library. Alternatively, downgrade to an earlier nRF Connect for Desktop version (3.7.x).

  • Hello Einar,

    Thanks for your answer... From my point of view, it's really a pity not to support "pc-nrfjprog-js" anymore...

    As I'm not used to work on applications for nRF Connect Desktop, I have a lot of trouble to upgrade my application to use the new "nrf-device-lib-js" library

    Do you have a simple example to share that uses this library so that I can be inspired?

    The goal of my application is to be able to read or modify UICR of my devices using nRF52.

Reply
  • Hello Einar,

    Thanks for your answer... From my point of view, it's really a pity not to support "pc-nrfjprog-js" anymore...

    As I'm not used to work on applications for nRF Connect Desktop, I have a lot of trouble to upgrade my application to use the new "nrf-device-lib-js" library

    Do you have a simple example to share that uses this library so that I can be inspired?

    The goal of my application is to be able to read or modify UICR of my devices using nRF52.

Children
Related