Just installed nodejs and nodered on Win10 following the instruction and it quits immediately after start. What is the fix?
C:\WINDOWS\system32>node-red
20 May 18:11:33 - [info]
Welcome to Node-RED
20 May 18:11:33 - [info] Node-RED version: v1.3.5
20 May 18:11:33 - [info] Node.js version: v14.17.0
20 May 18:11:33 - [info] Windows_NT 10.0.19042 x64 LE
20 May 18:11:34 - [info] Loading palette nodes
20 May 18:11:35 - [info] Dashboard version 2.23.2 started at /ui
How did you install it? It hasn't got as far as telling you what userDir folder it is using and I'm wondering whether your installation/user doesn't have access to the folder?
You may find some additional info by hunting through the event logs though that is often a very painful process.
It's on Windows10
I followed the instruction from here:
install nodejs and as result:
C:\WINDOWS\system32>node -v
v14.17.0
C:\WINDOWS\system32>npm -v
6.14.13
2) from cmd as Administrator I executed:
npm install -g --unsafe-perm node-red
in C:\Users\Janek\AppData\Roaming\npm I have:
C:\Users\Janek\AppData\Roaming\npm>ls
node-red node-red-pi node-red-pi.cmd node-red-pi.ps1 node-red.cmd node-red.ps1 node_modules
when I run (as Administrator from command line)
C:\Users\Janek\AppData\Roaming\npm>node-red
20 May 19:59:59 - [info]
Welcome to Node-RED
20 May 19:59:59 - [info] Node-RED version: v1.3.5
20 May 19:59:59 - [info] Node.js version: v14.17.0
20 May 19:59:59 - [info] Windows_NT 10.0.19042 x64 LE
20 May 20:00:00 - [info] Loading palette nodes
20 May 20:00:02 - [info] Dashboard version 2.23.2 started at /ui