# Roboflow-red not showing in Palette

**URL:** <https://discourse.nodered.org/t/roboflow-red-not-showing-in-palette/87433>\
**Category:** General\
**Created:** [23 April 2024 09:05 UTC](https://discourse.nodered.org/t/roboflow-red-not-showing-in-palette/87433 "2024-04-23T09:05:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamza-Awr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hamza-awr/32/90404_2.png) [@Hamza-Awr](https://discourse.nodered.org/u/Hamza-Awr)\
**Post date:** [23 April 2024 09:05 UTC](https://discourse.nodered.org/t/roboflow-red-not-showing-in-palette/87433/1 "2024-04-23T09:05:06Z")

</div>

I want to install the roboflow-red module in Node-RED, but when I search it in the "Install" section in palette, it doesn't appear. I tried downloading the complete file from their Github: [GitHub - roboflow/roboflow-red: A visual way to interact with computer vision using Node-RED](https://github.com/roboflow/roboflow-red/tree/main) and putting it inside C:\Program Files\nodejs\node\_modules\npm\node\_modules, but it still doesn't work. I managed to install "roboflow" (as that's the name in the npm registry) from the cmd using npm install roboflow, but I still cannot see it in Node-RED. My node version is v20.12.2 and npm version is 10.5.0.

---

<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:** [23 April 2024 09:53 UTC](https://discourse.nodered.org/t/roboflow-red-not-showing-in-palette/87433/2 "2024-04-23T09:53:32Z")

</div>

Seems like the user has [published it to NPM](https://www.npmjs.com/package/@roboflow/roboflow-red) but not added it to the [flow library](https://flows.nodered.org/) - this should be [reported as an issue](https://github.com/roboflow/roboflow-red/issues) on the repo

> [@Hamza-Awr](#):
>
> I tried downloading the complete file from their Github: [GitHub - roboflow/roboflow-red: A visual way to interact with computer vision using Node-RED](https://github.com/roboflow/roboflow-red/tree/main) and putting it inside C:\Program Files\nodejs\node\_modules\npm\node\_modules

That is NOT how packages are installed

To install a node from NPM you need to run the correct `npm install` command as is shown in the [npm page](https://www.npmjs.com/package/@roboflow/roboflow-red), in the correct directory. Typically this is `c:\users\<your-account>\.node-red` e.g

```sh
cd c:\users\<your-account>\.node-red
npm i @roboflow/roboflow-red

```

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [23 April 2024 10:47 UTC](https://discourse.nodered.org/t/roboflow-red-not-showing-in-palette/87433/3 "2024-04-23T10:47:36Z")

</div>

For what it's worth, I tried installing it on a Raspberry Pi.  
It seemed to install but did not appear in the palette.

Node-red startup shows a missing module axios

```auto
23 Apr 10:15:22 - [warn] [@roboflow/roboflow-red/inference] Error: Cannot find module 'axios'
Require stack:
- /home/pi/.node-red/node_modules/@roboflow/roboflow-red/nodes/inference/inference.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js

```

---

<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:** [23 April 2024 11:13 UTC](https://discourse.nodered.org/t/roboflow-red-not-showing-in-palette/87433/4 "2024-04-23T11:13:37Z")

</div>

The package tries to import axios in [nodes/inference/inference.js](https://github.com/roboflow/roboflow-red/blob/b6d7c3c0f2c25be6fe226bdfacd90be96e556f02/nodes/inference/inference.js#L1) but it is not listed as a dependancy in its [`package.json`](https://github.com/roboflow/roboflow-red/blob/b6d7c3c0f2c25be6fe226bdfacd90be96e556f02/package.json#L1-L36)

It _might_ be enough to manually install axios

```auto
cd c:\users\<your-account>\.node-red
npm i axios

```

Ideally, this too would be [reported as an issue](https://github.com/roboflow/roboflow-red/issues) on the repo

---

<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:** [22 July 2024 11:14 UTC](https://discourse.nodered.org/t/roboflow-red-not-showing-in-palette/87433/5 "2024-07-22T11:14:33Z")

</div>

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