TwentyT
Twenty10mo ago
6 replies
Priyanshu

Not able to Setup dev environment

Hi , I was trying to set up dev environment but every time i am getting this error message

Error during migration run:
error: password authentication failed for user "postgres"
at Parser.parseErrorMessage (/home/priyanshu/workstation/TWENTY/twenty/node_modules/pg/node_modules/pg-protocol/src/parser.ts:369:69)
at Parser.handlePacket (/home/priyanshu/workstation/TWENTY/twenty/node_modules/pg/node_modules/pg-protocol/src/parser.ts:188:21)
at Parser.parse (/home/priyanshu/workstation/TWENTY/twenty/node_modules/pg/node_modules/pg-protocol/src/parser.ts:103:30)
at Socket.<anonymous> (/home/priyanshu/workstation/TWENTY/twenty/node_modules/pg/node_modules/pg-protocol/src/index.ts:7:48)
at Socket.emit (node:events:518:28)
at Socket.emit (node:domain:489:12)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Socket.Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189: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: '335',
routine: 'auth_failed'
}
Warning: command "ts-node --transpile-only -P tsconfig.json ../../node_modules/typeorm/cli.js migration:run -d src/database/typeorm/core/core.datasource" exited with non-zero status code


NX Running target typeorm for project twenty-server failed

Failed tasks:

- twenty-server:typeorm

Hint: run the command with --verbose for more details.



"I am trying to build this on WSL and i am following official documentation from website
Screenshot_2025-03-23_163716.png
Was this page helpful?