# Deepstack missing node types

**URL:** https://discourse.nodered.org/t/deepstack-missing-node-types/47623
**Category:** General
**Created:** [25 June 2021 06:51 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623 "2021-06-25T06:51:54Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![niclas.w82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/niclas.w82/32/31813_2.png) [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)
#### Post date: [25 June 2021 06:51 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/1 "2021-06-25T06:51:54Z")

</div>

Hi.

Installed deepstack in node-red but i get an error when i using Objekt and face detection.

Any idea how to find out what causing this?

/Niclas

 ![Skärmavbild 2021-06-25 kl. 08.47.51](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/7/572ee393c6ca760dc35eb0261583325ecb0cc939.png)

25 Jun 08:47:28 - [debug] saved flow revision: 1f3ae501292e2c3f964fc45f4e510ba4

25 Jun 08:47:28 - [info] Stopping flows

25 Jun 08:47:28 - [info] Stopped flows

25 Jun 08:47:28 - [info] Waiting for missing types to be registered:

25 Jun 08:47:28 - [info] - server

25 Jun 08:47:28 - [info] - deepstack-object-detection

25 Jun 08:47:28 - [info] - deepstack-face-recognition

25 Jun 08:47:28 - [trace] runtime event: {"id":"runtime-state","payload":{"error":"missing-types","type":"warning","text":"notification.warnings.missing-types","types":["server","deepstack-object-detection","deepstack-face-recognition"]},"retain":true}

25 Jun 08:47:28 - [trace] runtime event: {"id":"runtime-deploy","payload":{"revision":"1f3ae501292e2c3f964fc45f4e510ba4"},"retain":true}

---

<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: [25 June 2021 07:44 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/2 "2021-06-25T07:44:48Z")

</div>

Seems like some of the nodes in [node-red-contrib-deepstack](https://flows.nodered.org/node/node-red-contrib-deepstack) have failed to load.

There will likely be an error in the node-red start up log output.

What versions of node-js and node-red are you using? It might be this set of nodes dont play nicely with a really old node-red or node-js version.

---

<div class="post-metadata">

### Author: ![niclas.w82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/niclas.w82/32/31813_2.png) [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)
#### Post date: [25 June 2021 07:58 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/3 "2021-06-25T07:58:07Z")

</div>

I am running latest version of node-red 1.3.5 and node JS v14.17.

startup log looks like this

```auto
5 Jun 09:55:30 - [warn] ------------------------------------------------------

25 Jun 09:55:30 - [info] Settings file : /home/niclas/.node-red/settings.js

25 Jun 09:55:30 - [info] Context store : 'default' [module=memory]

25 Jun 09:55:30 - [info] User directory : /home/niclas/.node-red

25 Jun 09:55:30 - [warn] Projects disabled : editorTheme.projects.enabled=false

25 Jun 09:55:30 - [info] Flows file : /home/niclas/.node-red/stop

25 Jun 09:55:30 - [info] Creating new flow file

25 Jun 09:55:30 - [debug] loaded flow revision: d751713988987e9331980363e24189ce

25 Jun 09:55:30 - [debug] red/runtime/nodes/credentials.load : no user key present

25 Jun 09:55:30 - [debug] red/runtime/nodes/credentials.load : using default key

25 Jun 09:55:30 - [debug] red/runtime/nodes/credentials.load : keyType=system

25 Jun 09:55:30 - [warn]

---------------------------------------------------------------------

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials

file will not be recoverable, you will have to delete it and re-enter

your credentials.

You should set your own key using the 'credentialSecret' option in

your settings file. Node-RED will then re-encrypt your credentials

file using your chosen key the next time you deploy a change.

---------------------------------------------------------------------

25 Jun 09:55:30 - [trace] runtime event: {"id":"runtime-state","retain":true}

25 Jun 09:55:30 - [trace] runtime event: {"id":"runtime-deploy","payload":{"revision":"d751713988987e9331980363e24189ce"},"retain":true}

25 Jun 09:55:30 - [info] Starting flows

25 Jun 09:55:30 - [debug] red/nodes/flows.start : starting flow : global

25 Jun 09:55:30 - [trace] [flow:global] start flow [global]

25 Jun 09:55:30 - [trace] runtime event: {"id":"runtime-state","retain":true}

25 Jun 09:55:30 - [info] Started flows

25 Jun 09:55:30 - [info] Server now running at http://127.0.0.1:1880/

```

---

<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: [25 June 2021 08:06 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/4 "2021-06-25T08:06:45Z")

</div>

That looks fairly normal.

Try refreshing browser?

---

<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: [25 June 2021 08:08 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/5 "2021-06-25T08:08:19Z")

</div>

Actually, you have entered `node-red stop` instead of `node-red-stop`

> [@niclas.w82](#):
>
> ```auto
> 25 Jun 09:55:30 - [info] Flows file : /home/niclas/.node-red/stop
> 
> 25 Jun 09:55:30 - [info] Creating new flow file
> 
> ```

this has created a brand new empty flow file - thats why it looks normal and without error.

---

<div class="post-metadata">

### Author: ![niclas.w82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/niclas.w82/32/31813_2.png) [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)
#### Post date: [25 June 2021 08:33 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/6 "2021-06-25T08:33:43Z")

</div>

ok we try again 🙂

and now I see that something is wrong with sharp.  
i will try to reinstall.

Thanks for helping!!!

```auto
│ **id** │ **name** │ **namespace** │ **version** │ **mode** │ **pid** │ **uptime** │ **↺** │ **status** │ **cpu** │ **mem** │ **user** │ **watching** │

├─────┼─────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤

│ **0** │ node-red │ default │ N/A │ **fork** │ 0 │ 0 │ 0 │ **stopped** │ 0% │ 0b │ **niclas** │ disabled │

└─────┴─────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘

```

```auto
**niclas@niclas-desktop** : **~** $ node-red

25 Jun 10:30:06 - [info]

Welcome to Node-RED

===================

25 Jun 10:30:06 - [info] Node-RED version: v1.3.5

25 Jun 10:30:06 - [info] Node.js version: v14.17.1

25 Jun 10:30:06 - [info] Linux 4.9.201-tegra arm64 LE

25 Jun 10:30:07 - [info] Loading palette nodes

25 Jun 10:30:07 - [debug] Module: node-red-contrib-deepstack 0.1.2 /home/niclas/.node-red/node_modules/node-red-contrib-deepstack

25 Jun 10:30:07 - [debug] Module: node-red-dashboard 2.29.3 /home/niclas/.node-red/node_modules/node-red-dashboard

25 Jun 10:30:07 - [debug] Module: node-red-node-rbe 0.5.0 /usr/local/lib/node_modules/node-red/node_modules/node-red-node-rbe

25 Jun 10:30:07 - [debug] Module: node-red-node-tail 0.3.1 /usr/local/lib/node_modules/node-red/node_modules/node-red-node-tail

25 Jun 10:30:08 - [info] Dashboard version 2.29.3 started at /ui

25 Jun 10:30:08 - [warn] ------------------------------------------------------

25 Jun 10:30:08 - [warn] [node-red-contrib-deepstack/deepstack-object-detection] Error:

Something went wrong installing the "sharp" module

libvips-cpp.so.42: cannot open shared object file: No such file or directory

- Remove the "node_modules/sharp" directory then run

"npm install --ignore-scripts=false --verbose sharp" and look for errors

- Consult the installation documentation at https://sharp.pixelplumbing.com/install

- Search for this error at https://github.com/lovell/sharp/issues

25 Jun 10:30:08 - [warn] [node-red-contrib-deepstack/deepstack-face-recognition] Error:

Something went wrong installing the "sharp" module

libvips-cpp.so.42: cannot open shared object file: No such file or directory

- Remove the "node_modules/sharp" directory then run

"npm install --ignore-scripts=false --verbose sharp" and look for errors

- Consult the installation documentation at https://sharp.pixelplumbing.com/install

- Search for this error at https://github.com/lovell/sharp/issues

25 Jun 10:30:08 - [warn] ------------------------------------------------------

25 Jun 10:30:08 - [info] Settings file : /home/niclas/.node-red/settings.js

25 Jun 10:30:08 - [info] Context store : 'default' [module=memory]

25 Jun 10:30:08 - [info] User directory : /home/niclas/.node-red

25 Jun 10:30:08 - [warn] Projects disabled : editorTheme.projects.enabled=false

25 Jun 10:30:08 - [info] Flows file : /home/niclas/.node-red/flows_niclas-desktop.json

25 Jun 10:30:08 - [info] Server now running at http://127.0.0.1:1880/

25 Jun 10:30:08 - [debug] loaded flow revision: 36bd8b18a6bd616995421873f5f84039

25 Jun 10:30:08 - [debug] red/runtime/nodes/credentials.load : no user key present

25 Jun 10:30:08 - [debug] red/runtime/nodes/credentials.load : using default key

25 Jun 10:30:08 - [debug] red/runtime/nodes/credentials.load : keyType=system

25 Jun 10:30:08 - [warn]

---------------------------------------------------------------------

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials

file will not be recoverable, you will have to delete it and re-enter

your credentials.

You should set your own key using the 'credentialSecret' option in

your settings file. Node-RED will then re-encrypt your credentials

file using your chosen key the next time you deploy a change.

---------------------------------------------------------------------

25 Jun 10:30:08 - [trace] runtime event: {"id":"runtime-state","retain":true}

25 Jun 10:30:08 - [trace] runtime event: {"id":"runtime-deploy","payload":{"revision":"36bd8b18a6bd616995421873f5f84039"},"retain":true}

25 Jun 10:30:08 - [info] Waiting for missing types to be registered:

25 Jun 10:30:08 - [info] - server

25 Jun 10:30:08 - [info] - deepstack-object-detection

25 Jun 10:30:08 - [trace] runtime event: {"id":"runtime-state","payload":{"error":"missing-types","type":"warning","text":"notification.warnings.missing-types","types":["server","deepstack-object-detection"]},"retain":true}

25 Jun 10:30:38 - [trace] comms.open kxLBOHKvf3wUdBPUMYSPzJ67rYNWcglTrdiMzIZ5ewE=

```

---

<div class="post-metadata">

### Author: ![niclas.w82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/niclas.w82/32/31813_2.png) [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)
#### Post date: [26 June 2021 08:28 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/7 "2021-06-26T08:28:31Z")

</div>

Have reinstalled all packages, Libvips and sharp with no errors and it still not working. Any idea how to find out what's the problem?

Regards Niclas

---

<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: [26 June 2021 08:39 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/8 "2021-06-26T08:39:01Z")

</div>

> [@niclas.w82](#):
>
> still not working

Do you mean you are still getting the same "Something went wrong installing the "sharp" module" message when starting Node-RED?

If not, are there any new errors in the startup log?

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [26 June 2021 09:10 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/9 "2021-06-26T09:10:16Z")

</div>

> [@niclas.w82](#):
>
> `Linux 4.9.201-tegra`

What board/processor is this running on ? Is the app known to run in this board without Node-RED ?

---

<div class="post-metadata">

### Author: ![niclas.w82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/niclas.w82/32/31813_2.png) [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)
#### Post date: [26 June 2021 17:25 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/10 "2021-06-26T17:25:39Z")

</div>

I am running a Nvidia Jetson. But I solved it at last. the problem was libvips. I downgraded to version 8.10.5 instead of 8.11.0 and then it worked.

Thanks for your support

/Niclas

---

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [27 June 2021 04:50 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/11 "2021-06-27T04:50:03Z")

</div>

How do you rate the performance of Deepstack when running on the Jetson? Is it utilizing the GPU?  
I run YOLO v4 on my Jetson's and used the guides in here:

> **[jkjung-avt/tensorrt\_demos](https://github.com/jkjung-avt/tensorrt_demos#demo-4-yolov3)**
>
> TensorRT MODNet, YOLOv4, YOLOv3, SSD, MTCNN, and GoogLeNet - jkjung-avt/tensorrt\_demos

Also interesting with Deepstack is of course that you can register faces with it

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [27 June 2021 20:40 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/12 "2021-06-27T20:40:46Z")

</div>

It might be a good idea to submit an issue about that on the node's github page so that the author can take appropriate action.

---

<div class="post-metadata">

### Author: ![niclas.w82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/niclas.w82/32/31813_2.png) [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)
#### Post date: [29 June 2021 20:53 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/13 "2021-06-29T20:53:01Z")

</div>

Hi. Yes it utilizing the GPU. Have just tried objekt detection so far and it takes about 500ms to process an hi-res jpg.

---

<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: [13 July 2021 20:53 UTC](https://discourse.nodered.org/t/deepstack-missing-node-types/47623/14 "2021-07-13T20:53:18Z")

</div>

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