# Trouble installing node-red-contrib-tf-model

**URL:** <https://discourse.nodered.org/t/trouble-installing-node-red-contrib-tf-model/96460>\
**Category:** General\
**Created:** [7 April 2025 21:06 UTC](https://discourse.nodered.org/t/trouble-installing-node-red-contrib-tf-model/96460 "2025-04-07T21:06:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxiemax](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@maxiemax](https://discourse.nodered.org/u/maxiemax)\
**Post date:** [7 April 2025 21:06 UTC](https://discourse.nodered.org/t/trouble-installing-node-red-contrib-tf-model/96460/1 "2025-04-07T21:06:54Z")

</div>

hello. before i start, here are my versions:  
Node-RED version: v4.0.9  
Node.js version: v22.12.0

long story short, i've installed node-red-contrib-tf-model using their guide in

> **[node-red-contrib-tf-model](https://flows.nodered.org/node/node-red-contrib-tf-model)**
>
> a custom Node-RED node to retrieve/execute a Tensorflow model

it required a tensorflow/tfjs-node  
picture of tensorflow/tfjs-node installation:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/8/d8f3cf336d60e40a2f030998a50a0431ee3532b2.png)

i then proceeded to install the node from node-red itself as instructed. However, the terminal gives me this error:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/1826e3504af1f2b29dff0a4693de9af016697a98.png)  
It also displays an error in node-red itself under the node:

- ERR\_DLOPEN\_FAILED  
when i check, this tfjs\_binding.node is indeed present in all its glory.

I've tried everything from cleaning cache, downgrading node.js (from 22 to 20, to 19, to 18), and reinstalling it multiple times.  
I even attempted to change it from tfjs-node to just tfjs in the package.json and index.js, but as you can imagine, that didnt work.

I am all out of options here. please provide help for a poor soul.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 April 2025 21:39 UTC](https://discourse.nodered.org/t/trouble-installing-node-red-contrib-tf-model/96460/2 "2025-04-07T21:39:24Z")

</div>

Hi. Welcome to the forum.

If you simply search the error text from the console "Error: The specified module could not be found" "\tfjs-node\lib\napi-v8\tfjs\_binding.node" on the web, it would have lead you to this thread: [[Windows] Error: The specified module could not be found. node\_modules\@tensorflow\tfjs-node\lib\napi-v6\tfjs\_binding.node · Issue #4116 · tensorflow/tfjs · GitHub](https://github.com/tensorflow/tfjs/issues/4116)

It looks promising?

Ps, please post logs as text in future. Images are hard to read and are not searchable.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 April 2025 21:40 UTC](https://discourse.nodered.org/t/trouble-installing-node-red-contrib-tf-model/96460/3 "2025-04-21T21:40:04Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
