TypeError: Cannot read properties of undefined (reading 'query')

Hi, I am having an issue trying to pass in data into the tables, and I keep getting this error and this message "return client.query(rawQuery, params);" Does anyone know what I can do to fix this?
5 Replies
kel
kelOP2w ago
I tweaked it and now I am receiving the error Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string even though my .env has it as a string
kel
kelOP2w ago
No description
kel
kelOP2w ago
this is what I have at the moment and Ive read the documentation and have tried numerous different ways to resolve it but I fail to see a solution
kel
kelOP2w ago
this is the new error I am getting, it says password authetication failed meanwhile it provides a user that is non existent
No description
kel
kelOP2w ago
Nvm I switched to a neon database instead of docker setup and now it works but I cant figure out why the envs are showing up

Did you find this page helpful?