Didn't realise/forgotton/not in instructions that I needed to have a settings.js file in my folder (otherwise it defaults to using my normal c:\users\simon.node-red one
So I copied it across - changed port number to 1881 and also told it to use my c:\nrsource\node-red folder as the user folder and it works
maybe try that on yours and see what happens?
[edit] npm start -- -s settings.js -u .
works as well to save having to name the folder
@knolleary@dceejay Could we have a settings.js file automatically be installed in the folder? And could npm start
be amended to npm start -- -s settings.js -u .
in the docs?
When you install Node-RED, we don't know where you want the user directory to be, so we cannot create it and populate it with anything until you run for the first time.
For what reason? Why make it look more complicated to run than it really is? We do document the command-line options that can be used.
Oh sorry, I missed this was related to a git clone rather than an npm install.
If you are running in the root of the source tree, you really don't want that to also be used as your userDir as you then pollute the src tree with all your user data.
So which bit of the docs are you proposing that change in? We could add a comment to the effect of how to run with a custom user dir if you are already at the point of running from src rather than the recommended install from npm.