#Timeout acquiring a connection error after copying 2.0 project to another machine

1 messages · Page 1 of 1 (latest)

placid pecan
#

I am getting the following error when setting up my project on another machine:

Error:  Loaders for module PaymentModuleService failed: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
Error Syncing the notification providers: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

I didn't use the create-medusa-app@preview this time as I had already done so on another machine. I pushed that project to GitHub and cloned it down. I thought this issue was related to DigitalOcean which is where my database is being hosted, and I increased the pool size. After doing that I'm still getting this error. Funny thing, my other machine still works fine. Is this a dependency issue?

urban field
#

run yarn

placid pecan
#

I was using yarn

urban field
#

yarn = yarn install

#

run yarn, and install the project + deps

placid pecan
#

Sorry, I did install with yarn install

#

Error is still happening

urban field
#

are you using the same version yarn

placid pecan
#

Maybe not. I'll have to check that, same with my node version