It seems require('socket.io').reqFromSocket(socket) doesn't returns a valid req for AuthController.doLogin.... i want to authenticate via websocket but maybe i will have to do it the old POST way, am i correct?
Cannot find module 'nconf'
Hi guys and girls,
I installed Node.js, npm, got nodeBB from github, opened with VS, ran the project and got the below
What am i missing here?
Given that is the first line of code, it appears you neglected to install the dependent modules by running
Also, It seems you did not install MongoDB. NodeBB requires a MongoDB and/or Redis database. You will need to install one locally unless you are using a remote solution.
One more thing, using
git cloneis recommended over downloading the source, as it provides an easier upgrade path.
@yariplus Thanks! Any resources or Step by step guides to do everything properly? Still new to Node.js and I feel very stupid
Ok managed! Not so stupid after all... Thanks!
Another question. I am trying to initialize my nodeBB on my local pc. I create my database as follows
Then I give the necessary information at the installer page
After some time, the response is this one
Any ideas what might be wrong?
Duke last edited by
@panagiotis-charalampous Try following this guide on Ubuntu.
@panagiotis-charalampous Check in the logs directory for any error.
I'm guessing authorization is not enabled on the database as it is not enabled by default. Use the link @Duke gave and follow the 'Configure MongoDB' section.