# Node-red-contrib-shelly 4.1.4 install failed

**URL:** <https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952>\
**Category:** General\
**Created:** [7 February 2022 20:49 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952 "2022-02-07T20:49:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harryx99](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harryx99/32/53539_2.png) [@Harryx99](https://discourse.nodered.org/u/Harryx99)\
**Post date:** [7 February 2022 20:49 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/1 "2022-02-07T20:49:01Z")

</div>

Hello.

does somebody uses the node-red-shelly? I installed to 4.14 and it failed:  
Error code:  
022-02-07T20:46:19.146Z installieren : node-red-contrib-shelly 4.1.4  
2022-02-07T20:46:19.382Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-shelly@4.1.4  
2022-02-07T20:46:28.498Z [out]  
2022-02-07T20:46:28.498Z [out] up to date in 8s  
2022-02-07T20:46:28.521Z rc=0

Even my previous version is gone and I don't have any shelly node in my Node-Red.

What can I do? Or at least how can I get the previous version back?

regards,  
Harry

---

<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:** [8 February 2022 17:34 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/2 "2022-02-08T17:34:06Z")

</div>

> [@Harryx99](#):
>
> 2022-02-07T20:46:28.498Z [out] up to date in 8s

That is telling you that it is already installed. Try restarting node-red, clear the cache in the browser (via the browser menus) and refresh the editor page. If still not working stop node red and start it again in a terminal and post the terminal output here.

---

<div class="post-metadata">

**Author:** ![Harryx99](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harryx99/32/53539_2.png) [@Harryx99](https://discourse.nodered.org/u/Harryx99)\
**Post date:** [8 February 2022 20:32 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/3 "2022-02-08T20:32:33Z")

</div>

Ok, it seems to be it is installed but I can't see any Shelly node. I restarted several times, cleaned up cache, but always the same error. Used different browser as well.  
Now I'll figure out what terminal means. My node-Red is running on a CCU3.

---

<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:** [8 February 2022 20:54 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/4 "2022-02-08T20:54:15Z")

</div>

> [@Harryx99](#):
>
> Now I'll figure out what terminal means

Well normally that means a window where you type commands with a keyboard. How that relates to your setup I don't know.

---

<div class="post-metadata">

**Author:** ![Harryx99](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harryx99/32/53539_2.png) [@Harryx99](https://discourse.nodered.org/u/Harryx99)\
**Post date:** [9 February 2022 13:59 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/5 "2022-02-09T13:59:01Z")

</div>

Do you mean during start the Red-Node watching a terminal?

Otherwise I attached the screenshot terminal from the install.

 ![Shelly node install](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/6/d65ca2c64778f6d481b10778fe192ce16eeae81c.jpeg)

---

<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:** [9 February 2022 14:20 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/6 "2022-02-09T14:20:24Z")

</div>

I meant to stop node red then run the command to start node red so that you see the node red startup messages, and copy/paste the output here. You should see a Welcome to node red message at the start.

---

<div class="post-metadata">

**Author:** ![Harryx99](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harryx99/32/53539_2.png) [@Harryx99](https://discourse.nodered.org/u/Harryx99)\
**Post date:** [9 February 2022 20:06 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/7 "2022-02-09T20:06:14Z")

</div>

I can download a log file, but before I have to chose the log level. What makes the most sense?

 ![Debug Level](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/b/4b336022a237f4ed470e4585f30d3883e3e9aae3.jpeg)

---

<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:** [9 February 2022 20:26 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/8 "2022-02-09T20:26:10Z")

</div>

> [@Harryx99](#):
>
> I have to chose the log level

Log level `info`, which is the default for a normal install on a PC or Pi.

---

<div class="post-metadata">

**Author:** ![Harryx99](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harryx99/32/53539_2.png) [@Harryx99](https://discourse.nodered.org/u/Harryx99)\
**Post date:** [9 February 2022 21:02 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/9 "2022-02-09T21:02:39Z")

</div>

Here you go. I can see the Shelly Node is on the start list but not in the system "Palette"?

---

<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:** [9 February 2022 21:11 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/10 "2022-02-09T21:11:14Z")

</div>

You may have to ask on a forum specific to this device. You should see a log starting with something like

```auto
Welcome to Node-RED
 ===================
[info] Node-RED version: v2.2.0
[info] Node.js version: v16.14.0
[info] Linux 5.4.0-97-generic x64 LE
[info] Loading palette nodes
[info] Dashboard version 3.1.2 started at /ui
...

```

---

<div class="post-metadata">

**Author:** ![Harryx99](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harryx99/32/53539_2.png) [@Harryx99](https://discourse.nodered.org/u/Harryx99)\
**Post date:** [10 February 2022 05:48 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/11 "2022-02-10T05:48:13Z")

</div>

I checked the log error and found this:  
[node-red-contrib-shelly] Node module cannot be loaded on this version. Requires: \>=1.3.7  
Feb 10 06:53:04 ccu3-webui daemon.warn node-red[32638]: [node-red-contrib-telegrambot] Node module cannot be loaded on this version. Requires: \>=1.3.7

So it looks like my Node Red version is not correct:

redmatic": "7.2.1",  
"nodejs": "14.16.0",  
"@node-red-contrib-themes/midnight-red": "1.4.7",  
"ain2": "3.0.0",  
"node-red": "1.2.9",  
"npm": "7.6.3",  
"node-red-contrib-cast": "0.2.17",  
"node-red-contrib-ccu": "3.4.2",  
"node-red-contrib-chromecast": "0.0.1",

I think I have version 1.2.9 or?

---

<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:** [11 April 2022 05:48 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-4-1-4-install-failed/57952/12 "2022-04-11T05:48:36Z")

</div>

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