Nikhil Shetty <nikhil(dot)dba04(at)gmail(dot)com> writes:
> running bootstrap script ... 2021-09-16 11:42:47.944 GMT [24522] FATAL:
> invalid value for parameter "port": ""
Perhaps you have an incorrect environment setting for PGPORT ?
I can duplicate that if I run initdb after
export PGPORT=""
regards, tom lane