Uncaught Error: Module did not self-register
If you’ve upgraded node then npm rebuild might fix this for you
If you’ve upgraded node then npm rebuild might fix this for you
Turns out they are normal objects and you can access them through user_id. RowDataPacket is actually the name of the constructor function that creates an object, it would look like this new RowDataPacket(user_id, …). You can check by accessing its name [0].constructor.name If the result is an array, you would have to use [0].user_id.