# Node-RED installed, yet does not work

**URL:** <https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717>\
**Category:** General\
**Created:** [10 September 2020 23:05 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717 "2020-09-10T23:05:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonenPerets](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RonenPerets](https://discourse.nodered.org/u/RonenPerets)\
**Post date:** [10 September 2020 23:05 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/1 "2020-09-10T23:05:54Z")

</div>

Hi,

Node-RED used to work until yesterday. Then it stopped.

I uninstalled Node-RED and Node.js, then reinstalled.

Here's how the Node-RED install went:  
c:\Users\ronen.perets\AppData\Roaming\npm\>npm install -g --unsafe-perm node-red  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported  
npm WARN deprecated bcrypt@3.0.8: versions \< v5.0.0 do not handle NUL in passwords properly  
C:\Users\ronen.perets\AppData\Roaming\npm\node-red-pi -\> C:\Users\ronen.perets\AppData\Roaming\npm\node\_modules\node-red\bin\node-red-pi  
C:\Users\ronen.perets\AppData\Roaming\npm\node-red -\> C:\Users\ronen.perets\AppData\Roaming\npm\node\_modules\node-red\red.js

- node-red@1.1.3  
updated 1 package in 6.894s

When I start Node-RED and point the browser to localhost:1880, Node-RED shows in all its glory, HOWEVER no button works:  
Manage Pallete - Nothing happens  
Double click on node - Nothing happens  
Adding a Flow Tab - Nothing happens

When I try to add a node and deploy I get a message that deploy failed with config.forEach issue:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/663249065b49f6515b90ab392571e8cf2d7ed27d.png)

Also I get the following message on the browser console:  
red.min.js:16 Uncaught TypeError: $(...).size is not a function  
at o (red.min.js:16)  
at Object.core:add-flow (red.min.js:16)  
at Object.invoke (red.min.js:16)  
at HTMLAnchorElement. (red.min.js:16)  
at HTMLAnchorElement.dispatch (vendor.js:2)  
at HTMLAnchorElement.v.handle (vendor.js:2)

---

<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:** [11 September 2020 00:34 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/2 "2020-09-11T00:34:27Z")

</div>

What version of node.js do you have?

Can you list the Node-RED startup log?

What version of Windows and what browser are you using?

---

<div class="post-metadata">

**Author:** ![RonenPerets](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RonenPerets](https://discourse.nodered.org/u/RonenPerets)\
**Post date:** [11 September 2020 16:46 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/3 "2020-09-11T16:46:09Z")

</div>

What version of node.js do you have?

**11 Sep 09:40:20 - [info] Node-RED version: v1.1.3**  
**11 Sep 09:40:20 - [info] Node.js version: v12.18.3**  
**11 Sep 09:40:20 - [info] Windows\_NT 10.0.18362 x64 LE**  
**11 Sep 09:40:22 - [info] Loading palette nodes**  
**11 Sep 09:40:26 - [info] Dashboard version 2.23.3 started at /ui**

Can you list the Node-RED startup log?

# Welcome to Node-RED

**11 Sep 09:43:49 - [info] Node-RED version: v1.1.3**  
**11 Sep 09:43:49 - [info] Node.js version: v12.18.3**  
**11 Sep 09:43:49 - [info] Windows\_NT 10.0.18362 x64 LE**  
**11 Sep 09:43:49 - [info] Loading palette nodes**  
**11 Sep 09:43:50 - [info] Dashboard version 2.23.3 started at /ui**  
**11 Sep 09:43:50 - [info] Settings file : \Users\ronen.perets.node-red\settings.js**  
**11 Sep 09:43:50 - [info] Context store : 'default' [module=memory]**  
**11 Sep 09:43:50 - [info] User directory : \Users\ronen.perets.node-red**  
**11 Sep 09:43:50 - [warn] Projects disabled : editorTheme.projects.enabled=false**  
**11 Sep 09:43:50 - [info] Flows file : \Users\ronen.perets.node-red\flows\_DESKTOP-LHMJKLP.json**  
**11 Sep 09:43:50 - [info] Creating new flow file**  
**11 Sep 09:43:50 - [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.**  
**---------------------------------------------------------------------**

**11 Sep 09:43:50 - [info] Starting flows**  
**11 Sep 09:43:50 - [info] Started flows**  
**11 Sep 09:43:51 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)**  
**11 Sep 09:44:15 - [info] Stopping flows**  
**11 Sep 09:44:15 - [info] Stopped flows**

What version of Windows and what browser are you using?

**Win 10 Pro: Version 10.0.18362 Build 18362**  
**Chrome: Version 85.0.4183.102 (Official Build) (64-bit)**

---

<div class="post-metadata">

**Author:** ![RonenPerets](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RonenPerets](https://discourse.nodered.org/u/RonenPerets)\
**Post date:** [11 September 2020 17:09 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/4 "2020-09-11T17:09:12Z")

</div>

red.min.js:16 Versions  
red.min.js:16 jQuery 3.5.1  
red.min.js:16 jQuery UI 1.12.1  
red.min.js:16 ACE 1.4.3  
red.min.js:16 D3 3.0.3  
red.min.js:16 Projects disabled  
**`red.min.js:16 Uncaught TypeError: $(...).button is not a function`**  
at i (red.min.js:16)  
at Object.show (red.min.js:16)  
at Object.i [as show] (red.min.js:16)  
at Object. (red.min.js:16)  
at c (red.min.js:16)  
at HTMLAnchorElement. (red.min.js:16)  
at HTMLAnchorElement.dispatch (vendor.js:2)  
at HTMLAnchorElement.v.handle (vendor.js:2)

---

<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:** [11 September 2020 17:28 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/5 "2020-09-11T17:28:53Z")

</div>

> [@RonenPerets](#):
>
> Settings file : \Users\ronen.perets.node-red\settings.js

That is different to the user you were logged in with when installing Node-RED:

> [@RonenPerets](#):
>
> c:\Users\ronen.perets\AppData\Roaming\npm\>npm install -g --unsafe-perm node-red

So you have done something odd to the setup since you would normally expect to see:

```auto
Settings file : \Users\ronen.perets\.node-red\settings.js

```

Note the extra backslash.

---

<div class="post-metadata">

**Author:** ![RonenPerets](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RonenPerets](https://discourse.nodered.org/u/RonenPerets)\
**Post date:** [11 September 2020 17:44 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/6 "2020-09-11T17:44:06Z")

</div>

Thank you for your help.  
However the '' is there in the log, probably got deleted when copy&paste. It now shows:  
\Users\ronen.perets.node-red\settings.js

---

<div class="post-metadata">

**Author:** ![RonenPerets](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RonenPerets](https://discourse.nodered.org/u/RonenPerets)\
**Post date:** [11 September 2020 18:00 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/7 "2020-09-11T18:00:27Z")

</div>

it seems it is seen as escape code for the '.' . It is there though.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/7247d37eb5c20bb5c024747210c62aa9dfd2e4d5.png)

---

<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:** [11 September 2020 19:07 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/8 "2020-09-11T19:07:13Z")

</div>

You need to wrap that in back-ticks because Discourse is swallowing the backslash.

---

<div class="post-metadata">

**Author:** ![RonenPerets](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RonenPerets](https://discourse.nodered.org/u/RonenPerets)\
**Post date:** [11 September 2020 19:19 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/9 "2020-09-11T19:19:36Z")

</div>

Starting to give up.  
I removed node-red, removed all folders related to it, removed node.js and npm and reinstalled all.  
Still same issue.  
Funny thing is that I have 3 custom nodes that I installed and uninstalled but they still show up in the palette even after uninstall and install of node-red

---

<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:** [11 September 2020 19:32 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/10 "2020-09-11T19:32:30Z")

</div>

When you installed node-red globally, did you use an elevated command prompt?

You might try using my alternate installer or simply follow the same instructions to install node-red locally. That way you don't need to mess with admin rights.

---

<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:** [10 November 2020 19:32 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717/11 "2020-11-10T19:32:33Z")

</div>

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