Solved. add-registration-field plugin was the culprit. An undefined field was added in the registration page causing the error in adding a user in the database.
TypeError: Cannot read property 'bootswatchSkin' of undefined
I'm on Windows 8 and I'm trying to get nodebb setup with mongo and it used to work fine a few weeks ago when I tried to get it to work, but now when I try I get this error after starting up the server if I try to access the forum in my browser. I'm following the steps here: https://nodebb.readthedocs.io/en/latest/installing/os/windows8.html
When I run " node app.js" from the command line it says "nodeBB is now listening on 0.0.0.0:4567 but when I access it in my browser it suddenly shuts down the server. You can see the screenshot here: The error seems to say : "TypeError: Cannot read property 'bootswatchSkin' of undefined"
Thanks for sending this @baris , I saw this too, but I'm not clear how to resolve the issue or what I need to do to get the error to go away.