I have installed Node-red on a Windows 10 PC.
Because it's thousands of miles away everything is done over Teamviewer.
If I type node-red in a command window it runs and a browser opens localhost:1880.
To run it automatically I have followed the instructions to install nssm and setup a service.
Manually I can start this service, it says it is successful but the editor doesnt show up.:
The path to the executable in nssm is c:\Users\username\AppData\Roaming\npm\node-red.cmd.
If I type that full pathname in a non administrator window, Node-red starts up (even though the nssm service claims to be running)
The startup output:
c:\temp>c:\Users\XXXXX\AppData\Roaming\npm\node-red.cmd
2 Jul 19:43:50 - [info]
Welcome to Node-RED
===================
2 Jul 19:43:50 - [info] Node-RED version: v3.1.9
2 Jul 19:43:50 - [info] Node.js version: v20.13.1
2 Jul 19:43:50 - [info] Windows_NT 10.0.19045 x64 LE
2 Jul 19:43:51 - [info] Loading palette nodes
2 Jul 19:43:52 - [info] Settings file : C:\Users\XXXXXX\.node-red\settings.js
2 Jul 19:43:52 - [info] Context store : 'default' [module=memory]
2 Jul 19:43:52 - [info] User directory : \Users\XXXXXX\.node-red
2 Jul 19:43:52 - [warn] Projects disabled : editorTheme.projects.enabled=false
2 Jul 19:43:52 - [info] Flows file : \Users\XXXXXX\.node-red\flows.json
2 Jul 19:43:52 - [info] Server now running at http://127.0.0.1:1880/
2 Jul 19:43:52 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
[shortened]
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
2 Jul 19:43:52 - [info] Starting flows
2 Jul 19:43:52 - [info] Started flows
2 Jul 19:43:53 - [info] [mqtt-broker:hivemq] Connected to broker: mqtts://5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc.s1.eu.hivemq.cloud:8883
So nssm thinks it's doing something but it's not running Node-red.
What can I do?