I used ./nodebb dev to develop my first plugin, everything worked smoothly, but when I activated it in production, the server didn't started at all with this error:
the point is that on dev it never happened before, what I'm doing wrong?
I am trying to create a plugin which has post route in it, I want to get uid of requesting user in the handler but req.uid is always zero and req.user is always undefined. Any help appreciated.
Thanks @jarey , I was using shiny new fetch api but wasn't including credentials. silly me.