const message = name === ‘notice’ ? new messages_1.NoticeMessage(length, messageValue) : new messages_1.DatabaseError(messageValue, length, name);
^
error: password authentication failed for user “postgres”
at Parser.parseErrorMessage (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistparser.js:283:98)
at Parser.handlePacket (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistparser.js:122:29)
at Parser.parse (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistparser.js:35:38)
at Socket. (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistindex.js:11:42)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
length: 104,
severity: ‘FATAL’,
code: ’28P01′,
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: ‘auth.c’,
line: ‘326’,
routine: ‘auth_failed’
}
Node.js v21.6.2
PS C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationship> tsc -b
PS C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationship> node dist/index.js
C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistparser.js:283
const message = name === ‘notice’ ? new messages_1.NoticeMessage(length, messageValue) : new messages_1.DatabaseError(messageValue, length, name);
^
error: password authentication failed for user “postgres”
at Parser.parseErrorMessage (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistparser.js:283:98)
at Parser.handlePacket (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistparser.js:122:29)
at Parser.parse (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistparser.js:35:38)
at Socket. (C:UsersDELLDesktopharkirat_singh_cohortweek 12sql_relationshipnode_modulespg-protocoldistindex.js:11:42)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
length: 104,
severity: ‘FATAL’,
code: ’28P01′,
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: ‘auth.c’,
line: ‘326’,
routine: ‘auth_failed’
}
Node.js v21.6.2
i tried every thing to resolve this can’t do anything i dont know why the password is incorrect someone reachout to help me
Qayamuddin Khan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.