Node-red on Windows10 quits immediately

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

C:\WINDOWS\system32

Did you edit the file settings.js or change anything in the folder C:\Users<LOGIN_USER>.node-red ?

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:

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

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

C:\Users\Janek\AppData\Roaming\npm>

I haven't done any editing

sorry, instructions from here: Running on Windows : Node-RED

Try starting it from your node-red folder (just as normal user cmd terminal window)

e.g cd to c:\users\Janek\.node-red
and then run
node-red

After uninstalling and deleting everything and installing again it behaves ok. Solved. Thanks to everyone responding