# Rfxcom palette will not install

**URL:** <https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723>\
**Category:** General\
**Created:** [26 May 2023 16:21 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723 "2023-05-26T16:21:00Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![Mikee1234K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikee1234k/32/70283_2.png) [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Post date:** [27 May 2023 14:11 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/21 "2023-05-27T14:11:10Z")

</div>

I am trying to install Node Red now on Windows. But it seems that isnt working either. I floowed the steps on teh website as I couldnt remember how I did it first time. Looking at the powershell log, it doesnt look as if its installed. I also checked my C:\program files, no Node Red.  
Also, is there a quicker way to install all the palettes I need (I have about 15 or 20)

```auto
PS C:\WINDOWS\system32> node --version; npm --version
v18.16.0
9.5.1
PS C:\WINDOWS\system32> npm install -g --unsafe-perm node-red

added 293 packages in 17s

41 packages are looking for funding
  run `npm fund` for details
PS C:\WINDOWS\system32> cd\
PS C:\> node-red
node-red : File C:\Users\mkram\AppData\Roaming\npm\node-red.ps1 cannot be loaded. The file
C:\Users\mkram\AppData\Roaming\npm\node-red.ps1 is not digitally signed. You cannot run this script on the current
system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ node-red
+ ~~~~~~~~
    + CategoryInfo : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

```

---

<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 May 2023 14:30 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/22 "2023-05-27T14:30:56Z")

</div>

> [@Mikee1234K](#):
>
> is there a quicker way to install all the palettes I need

I don't know about the Windows install issue, but once you get node-red running, copy the file package.json from your working system to the .node-red folder, go into that folder and run  
`npm install`

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 May 2023 14:49 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/23 "2023-05-27T14:49:40Z")

</div>

You don't have a problem installing node-red, you have a problem with the configuration of PowerShell on your Windows device.

> [@Mikee1234K](#):
>
> ```auto
> node-red : File C:\Users\mkram\AppData\Roaming\npm\node-red.ps1 cannot be loaded. The file
> C:\Users\mkram\AppData\Roaming\npm\node-red.ps1 is not digitally signed. You cannot run this script on the current
> system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
> https:/go.microsoft.com/fwlink/?LinkID=135170.
> 
> ```

Simply follow the instructions given to fix that issue.

---

<div class="post-metadata">

**Author:** ![Mikee1234K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikee1234k/32/70283_2.png) [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Post date:** [27 May 2023 15:06 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/24 "2023-05-27T15:06:40Z")

</div>

I set the execution policy to unrestriced, then it started. Took a while of trying before I found the right command, I hope I dont have to do that again next time I start NR... Lets see how I get on with NR in Windows...

---

<div class="post-metadata">

**Author:** ![Mikee1234K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikee1234k/32/70283_2.png) [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Post date:** [27 May 2023 15:21 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/25 "2023-05-27T15:21:48Z")

</div>

There are hundreds of package.json in various subfolders. At least on my iobroker node red. I opened a few to see if they would make sense but so far I dont think I've found the right one

---

<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 May 2023 15:39 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/26 "2023-05-27T15:39:51Z")

</div>

> [@Colin](#):
>
> copy the file package.json from your working system to the .node-red folder

It is the one in the working system's .node-red folder. Copy it to the .node-red folder of the new system. It contains the node requirements for the flows file that is also in that folder.

---

<div class="post-metadata">

**Author:** ![Mikee1234K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikee1234k/32/70283_2.png) [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Post date:** [27 May 2023 15:46 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/27 "2023-05-27T15:46:28Z")

</div>

There are too many package.json files in the iobroker node red installation. There are many folders which contain package.json. I cannot see which one it would be, I opened quite a few but none looked as if it was the right one. There is one in C:\ioBroker\node\_modules\node-red

It looks wrong though as I have about 20 palettes installed

This is whats in the package.json

```auto
{
    "name": "node-red",
    "version": "3.0.2",
    "description": "Low-code programming for event-driven applications",
    "homepage": "http://nodered.org",
    "license": "Apache-2.0",
    "repository": {
        "type": "git",
        "url": "https://github.com/node-red/node-red.git"
    },
    "main": "lib/red.js",
    "scripts": {
        "start": "node red.js"
    },
    "bin": {
        "node-red": "./red.js",
        "node-red-pi": "bin/node-red-pi"
    },
    "contributors": [
        {
            "name": "Nick O'Leary"
        },
        {
            "name": "Dave Conway-Jones"
        }
    ],
    "keywords": [
        "editor",
        "messaging",
        "iot",
        "flow"
    ],
    "dependencies": {
        "@node-red/editor-api": "3.0.2",
        "@node-red/runtime": "3.0.2",
        "@node-red/util": "3.0.2",
        "@node-red/nodes": "3.0.2",
        "basic-auth": "2.0.1",
        "bcryptjs": "2.4.3",
        "express": "4.18.1",
        "fs-extra": "10.1.0",
        "node-red-admin": "^3.0.0",
        "nopt": "5.0.0",
        "semver": "7.3.7"
    },
    "optionalDependencies": {
        "bcrypt": "5.0.1"
    },
    "engines": {
        "node": ">=14"
    }
}

```

---

<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 May 2023 16:19 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/28 "2023-05-27T16:19:26Z")

</div>

No. In the same folder as your flows and settings files. Normally that would be a folder called .node-red in your home folder.

---

<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 May 2023 16:25 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/29 "2023-05-27T16:25:47Z")

</div>

Looking at your logs, when used with ioBroker it might be

`C:/ioBroker/node_modules/iobroker/.node-red/userdata`

But that just a guess. See if your flows file is there.

---

<div class="post-metadata">

**Author:** ![Mikee1234K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikee1234k/32/70283_2.png) [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Post date:** [27 May 2023 16:36 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/30 "2023-05-27T16:36:38Z")

</div>

Yes thats where it is.  
I installed all the palettes I need on my Windows NR. Imported my flows. And NR keeps crashing. But on the powershell window is a bit more information (none that I can understand though)  
I will set up the pushover credentials but I dont think that is the cause

```auto
27 May 17:29:37 - [info] Starting flows
27 May 17:29:38 - [error] [ntc-node-red-pushover-notifications:Node Red] Pushover credentials have not been set up
27 May 17:29:38 - [info] Started flows
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 bbq1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 temperaturerain1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 temperature1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 humidity1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 temperaturehumidity1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 temphumbaro1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 thermostat1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 rain1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 wind1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
(node:17152) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uv1 listeners added to [RfxCom]. Use emitter.setMaxListeners() to increase limit
Shelly gen1 server is listening on port 20001
27 May 17:29:38 - [error] [daikin-controller:AC Lounge Speed] Could not get basic info: Error: Error while communicating with Daikin device: ECONNRESET
27 May 17:29:38 - [red] Uncaught Exception:
27 May 17:29:38 - [error] TypeError: myenergi.getStatusEddiAll is not a function
    at GetEddiAll._inputCallback (C:\Users\mkram\.node-red\node_modules\node-red-contrib-myenergi\getEddiAll.js:14:44)
    at C:\Users\mkram\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\nodes\Node.js:210:26
    at Object.trigger (C:\Users\mkram\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\util\lib\hooks.js:166:13)
    at GetEddiAll.Node._emitInput (C:\Users\mkram\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\nodes\Node.js:202:11)
    at GetEddiAll.Node.emit (C:\Users\mkram\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\nodes\Node.js:186:25)
    at GetEddiAll.Node.receive (C:\Users\mkram\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\nodes\Node.js:485:10)
    at Immediate.<anonymous> (C:\Users\mkram\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\flows\Flow.js:831:52)
    at processImmediate (node:internal/timers:476:21)

```

---

<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 May 2023 18:08 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/31 "2023-05-27T18:08:40Z")

</div>

> [@Mikee1234K](#):
>
> `node-red-contrib-myenergi`

It is a bug in that node. It has been recently updated so hopefully, if you add an issue on the node's GitHub page it will be addressed.

---

<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:** [26 July 2023 18:08 UTC](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723/32 "2023-07-26T18:08:55Z")

</div>

Closed on 26 July 2023 18:08 UTC

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

[Previous page](https://discourse.nodered.org/t/rfxcom-palette-will-not-install/78723.md?page=1)
