Hi, good day.
I am having problem running the Node-Red
I get this error when execute Node-Red through command prompt
"Error loading settings file: \Users\kingf\.node-red\settings.js"
I wen through the forum but not sure how to deal with this error
Please help me.
Did you edit it?
Try undoing your edits.
Alternatively, delete (or rename) the file then fire up node-red and you'll get a new settings file (with default settings)
Looks like a missing backslash right after the user name
No. The forum uses escapes
E.g. this\.that
becomes this.that if you don't use backticks.
Actually not missing, but it did not show, anyway I edit it and include additional backlash just to make it appear as it is when execute
I know now... I always (AFAIK) format code and specific commands using the </>
icon in the topic editor... so was unaware of the forum software using the escapes if not formatting such.
There is no settings.js in the directory
Odd. It should be there.
Wait a minute. Your screen shot shoes a different path to \Users\kingf.node-red\
.
Have you looked in that directory?
Gunner
20 August 2021 23:35
11
As Steve already noted... you are showing references to two different users, thus different paths.
emperor81:
Thus refer to same path when I click on the address bar
Is the settings file hidden?
On the view ribbon, set show hidden files.
While you are there switch on show extensions so you can see actual file names.
Hi Steve-Mcl
I did as you ask
Hi @emperor81
It is strange for there not to be a settings file in there.
The quick fix will be to create the file yourself. Here is the default file you can download and save to that directory: https://raw.githubusercontent.com/node-red/node-red/master/packages/node_modules/node-red/settings.js
Hi Knolleary
Thank you. I manage to solve using the link provided
system
Closed
5 September 2021 18:14
18
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.