# Can't install "OpenZWave" module

**URL:** <https://discourse.nodered.org/t/cant-install-openzwave-module/29762>\
**Category:** General\
**Created:** [9 July 2020 06:55 UTC](https://discourse.nodered.org/t/cant-install-openzwave-module/29762 "2020-07-09T06:55:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vp2021](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@vp2021](https://discourse.nodered.org/u/vp2021)\
**Post date:** [9 July 2020 06:55 UTC](https://discourse.nodered.org/t/cant-install-openzwave-module/29762/1 "2020-07-09T06:55:23Z")

</div>

Hello,

I want to use the "Open-ZWave" module in Node-RED.

I went to the installation directory of Node-RED, and used the following command:  
$ npm install node-red-contrib-openzwave

I have this mistake:

 ![2020-07-09_085420](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/d/1dc18f6130adf0c246dfd3421fbcd624334ffc0a.jpeg)

The installation of other modules worked fine.

Have you encountered this kind of problem before?

Thank you.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [9 July 2020 07:23 UTC](https://discourse.nodered.org/t/cant-install-openzwave-module/29762/2 "2020-07-09T07:23:03Z")

</div>

Couple of things.

You are running as root, why ?  
You should install it in the `~/.node-red` directory

The openzwave node requires the node-openzwave library to be installed/compiled first. Did you read the [documentation](https://flows.nodered.org/node/node-red-contrib-openzwave) ?

> This package has one sole dependency: [node-openzwave-shared](https://github.com/OpenZWave/node-openzwave-shared). This is a fork of node-openzwave _that links to OpenZWave as a shared library_ , **therefore you _need to have the OpenZWave library installed in your system beforehand_ , using the operating system's package manager, or by compiling OpenZWave yourself.**

---

<div class="post-metadata">

**Author:** ![vp2021](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@vp2021](https://discourse.nodered.org/u/vp2021)\
**Post date:** [9 July 2020 07:58 UTC](https://discourse.nodered.org/t/cant-install-openzwave-module/29762/3 "2020-07-09T07:58:46Z")

</div>

Yes my installation directory was not correct on the picture.

Yes I read the documentation, but I use an ARM64 architecture, I didn't have the right libraries.

After installing the right libraries with these two commands everything worked fine:

$apt-get install openzwave  
$apt-get install libopenzwave1.5-dev

Thanks for the help.

---

<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:** [23 July 2020 07:58 UTC](https://discourse.nodered.org/t/cant-install-openzwave-module/29762/4 "2020-07-23T07:58:46Z")

</div>

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