Sunday, 23 April 2017

Postgres Unhandled rejection error: relation "public.role" does not exist

I am trying to connect to postgresql through Node.JS (LoopBack framework) in windows but when I try to access the database this error will occur:

Unhandled rejection error: relation "public.role" does not exist
at Connection.parseE (\node_modules\pg\lib\connetion.js:569:11)
at Connection.parseMessage (\node_modules\pg\lib\connection.js:396:17)
at Socket.<anonymous> (\node_modules\pg\lib\connection.js:132:22)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:548:20)



via Maryam Saeidi

No comments:

Post a Comment