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:
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)
--------------------------------------------------------------------- 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/ 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)
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)
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
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
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.