skip to Main Content

nestjs app can't connect to Postgresql Docker container

I got the project, I try the game and it gives out: ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)... error: ������������ "admin" �� ������ �������� ����������� (�� ������) at Parser.parseErrorMessage (E:ProgrammingNodejsLandProsportmastersportmaster_bitbucketnode_modulespg-protocolsrcparser.ts:369:69) The project has a container defined…

VIEW QUESTION

NestJs Docker container shows errors

I have dockerized a NestJs application. But running it shows Error: Error loading shared library /usr/src/app/node_modules/argon2/lib/binding/napi-v3/argon2.node: Exec format error and sometimes it shows Cannot find module 'webpack' Strangely, it works fine on Windows but the errors come up on mac…

VIEW QUESTION

Postgresql – Can't run Typeorm migrations in nestjs

I was following this blog https://wanago.io/2022/07/25/api-nestjs-database-migrations-typeorm/ to setup migrations in my nestjs project but got the error that dataSourceFileExport i.e DataSource object exported from the migration.config.ts is not iterable. And I don't know why it's not iterable. I couldn't find…

VIEW QUESTION
Back To Top
Search