# Tf.model node error

**URL:** <https://discourse.nodered.org/t/tf-model-node-error/48558>\
**Category:** General\
**Created:** [19 July 2021 00:54 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558 "2021-07-19T00:54:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MK1992](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Post date:** [19 July 2021 00:54 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558/1 "2021-07-19T00:54:55Z")

</div>

![Screenshot from 2021-07-19 08-48-21](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bbdf55fbcb12ee37129678c4dd922ec141ba2fa0.png)  
Hi I have put my model.json in tf.model node but there is sth wrong with that node. After I refresh the page, I don't see that node and see sth like that. It's a bit weird.  
 ![Screenshot from 2021-07-19 08-53-35](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/71314303c65a1289927a86c908f456d93ae37a5c.png)

so after the manual installation, this is what happens.

 ![Screenshot from 2021-07-19 09-07-58](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/4/84857ec5687bbd9e8ef2507c3c5dfe465de5fdb4.png)  
Based on the reading, I need to create custom-binary.json under the scripts but there is no permission to create. I also confuse how to give access to that. Pls give me some suggestion on that also.  
 ![Screenshot from 2021-07-19 09-10-49](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/c/bc4614d960b4c4639ed3b7d294edf1a7edf1862c.png)

---

<div class="post-metadata">

**Author:** ![MK1992](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Post date:** [19 July 2021 02:12 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558/2 "2021-07-19T02:12:45Z")

</div>

**Still Cannot Install after I follow the instructions:**

> **[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

So I have followed all the steps given by node-red to install tensorflow-model node. But the installation issue still occurs.

 ![Screenshot from 2021-07-19 10-09-36](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f78ad4ff3695c4072535e11a8dce9455597d775b.png)  
the error shows that I need to install peer dependencies but I think I have installed the peer dependencies. l don't know why the peer dependencies is not inside my installation libraries.Pls suggest me with that. Thank you.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [19 July 2021 06:50 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558/3 "2021-07-19T06:50:06Z")

</div>

You should be installing the modules in `~/.node-red`.

The errors you got in your first screenshots are because you were running it in the wrong location.

---

<div class="post-metadata">

**Author:** ![MK1992](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Post date:** [19 July 2021 10:55 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558/4 "2021-07-19T10:55:14Z")

</div>

Sorry I don't get it. Could you guide me step by step? How to find that ~/node-red?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [19 July 2021 11:01 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558/5 "2021-07-19T11:01:57Z")

</div>

In the cli get to the ‘pi’ folder and enter  
`cd .node-red`  
Which should put you in /pi/.node-red and then run  
`npm install node-red-contrib-tf-model`

Folders that start with a period are hidden folders

---

<div class="post-metadata">

**Author:** ![MK1992](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Post date:** [19 July 2021 11:13 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558/6 "2021-07-19T11:13:14Z")

</div>

sure thank you, I will try and do that.

---

<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:** [6 August 2021 03:45 UTC](https://discourse.nodered.org/t/tf-model-node-error/48558/9 "2021-08-06T03:45:37Z")

</div>

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