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