#Tried to host my project

6 messages · Page 1 of 1 (latest)

thin pagoda
#

Is it building locally find for you?

glass copper
crisp ruin
#

This error message is saying that you need to install the "pg" package in your Next.js project in order to connect to a PostgreSQL database. The "pg" package is a Node.js library for accessing PostgreSQL databases.

It appears that the error is being thrown from a module called "connectionmanager", and it's unable to find the "pg" library. To resolve this error, you need to install the "pg" package by running the following command in your project's root directory:

npm install pg or yarn add pg

Once the "pg" package has been installed, the error should be resolved and your Next.js project should be able to connect to a PostgreSQL database.

glass copper
#

But It is already fixed

#

anyway, ty for helping )