V4 Strapi with Postgres and knex error can't find module pg

System Information
  • 4.0.2:
  • Postgress:
  • 16:
  • 6:
  • 1.22:

Hi! When i use connection to postgres i catching a error. I tryed different nojs version.
Thats my config and error


Hello,
not sure with Windows OS, but did you tried the command
yarn add pg
?

1 Like

Yup, worked for me.