yarn migrate:run && yarn start
yarn typeorm migration:run --config ./lib/src/ormconfig
/usr/src/app/node_modules/.bin/typeorm migration:run --config ./lib/src/ormconfig
Error during migration run:
{ error: no PostgreSQL user name specified in startup packet
at Connection.pars eE (/usr/src/app/node_modules/pg/lib/connection.js:6 06:11)
at Connection.pars eMessage (/usr/src/app/node_modules/pg/lib/connection.js:4 03:19)
at Socket.<anonymo us> (/usr/src/app/node_modules/pg/lib/connection.js:1 23:22)
at Socket.emit (events.js:193: 13)
at addChunk (_stream_readab le.js:295:12)
at readableAddChun k (_stream_readab le.js:276:11)
at Socket.Readable .push (_stream_readab le.js:231:10)
at TCP.onStreamRea d (internal/stream_base_com mons.js:154:17)
name: 'error',
length: 121,
severity: 'FATAL',
code: '28000',
detail: undefined,
hint: undefined,
position: undefined,
internalPositio n: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'postmaster.c',
line: '2217',
routine: 'ProcessStartup Packet' }
error Command failed with exit code 1.
yarn typeorm migration:run --config ./lib/src/ormconfig
/usr/src/app/node_modules/.bin/typeorm migration:run --config ./lib/src/ormconfig
Error during migration run:
{ error: no PostgreSQL user name specified in startup packet
at Connection.pars eE (/usr/src/app/node_modules/pg/lib/connection.js:6 06:11)
at Connection.pars eMessage (/usr/src/app/node_modules/pg/lib/connection.js:4 03:19)
at Socket.<anonymo us> (/usr/src/app/node_modules/pg/lib/connection.js:1 23:22)
at Socket.emit (events.js:193: 13)
at addChunk (_stream_readab le.js:295:12)
at readableAddChun k (_stream_readab le.js:276:11)
at Socket.Readable .push (_stream_readab le.js:231:10)
at TCP.onStreamRea d (internal/stream_base_com mons.js:154:17)
name: 'error',
length: 121,
severity: 'FATAL',
code: '28000',
detail: undefined,
hint: undefined,
position: undefined,
internalPositio n: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'postmaster.c',
line: '2217',
routine: 'ProcessStartup Packet' }
error Command failed with exit code 1.
Comment