After updating to node red 4.0.8 I got "ERR_DLOPEN_FAILED"

Hello,
as per subject the nodes of “ncd-io/node-red-enterprise-sensors” are not deployed anymore.

A more detailed description of the error is:

[@ncd-io/node-red-enterprise-sensors/ncd-wireless] Error: Error relocating /config/node_modules/@serialport/bindings/build/Release/bindings.node: _ZN2v89Exception9TypeErrorENS_5LocalINS_6StringEEE: symbol not found

[ncd-red-comm/ncd-comm] Error: Error relocating /config/node_modules/@serialport/bindings/build/Release/bindings.node: _ZN2v89Exception9TypeErrorENS_5LocalINS_6StringEEE: symbol not found

thanks for your help

Luca

Hi Luca,

I’m not sure I’ve seen this after updating just node-red, but after changing nodejs I’ve seen similar issues. Can you try these commands from a new command line:

cd .node-red
npm rebuild
npm install
npm rebuild

if that doesn’t work I would try these commands from a new command line:
cd .node-red
npm uninstall @ncd-io/node-red-enterprise-sensors
npm install @ncd-io/node-red-enterprise-sensors

The serial port library we use requires compilation so if the nodejs version changes a rebuild is required.

Let me know if this resolves the issue or not.

1 Like