You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After success register and login, then try to make a new register but something happen like code below
[nodemon] starting node index.js
Listening at http://localhost:3000
DB Connected!
C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\protocol\Parser.js:80
throw err; // Rethrow non-MySQL errors
^
TypeError: Cannot read property 'insertId' of undefined
at Query._callback (C:\projek\node\node-mysql-authentication\config\passport.js:62:39)
at Query.Sequence.end (C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\protocol\sequences\Sequence.js:88:24)
at Query.ErrorPacket (C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\protocol\sequences\Query.js:90:8)
at Protocol._parsePacket (C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\protocol\Protocol.js:280:23)
at Parser.write (C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\protocol\Parser.js:76:12)
at Protocol.write (C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\protocol\Protocol.js:39:16)
at Socket.<anonymous> (C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\Connection.js:103:28)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
[nodemon] app crashed - waiting for file changes before starting...
The text was updated successfully, but these errors were encountered:
After success register and login, then try to make a new register but something happen like code below
[nodemon] starting
node index.js
Listening at http://localhost:3000
DB Connected!
C:\projek\node\node-mysql-authentication\node_modules\mysql\lib\protocol\Parser.js:80
throw err; // Rethrow non-MySQL errors
^
The text was updated successfully, but these errors were encountered: