Most recent version broken with PostgreSQL?
Closed this issue · 4 comments
DnOberon commented
I have the latest version of better-queue and better-queue-sql installed, verified that this morning. After the update to the most recent version however, whenever I attempt to push out a message I get this error.
TypeError: this.knex.raw(...).then(...).error is not a function
at PostgresAdapter.initialize (node_modules\better-queue-sql\postgres.js:63:6)
at PostgresAdapter.connect (node_modules\better-queue-sql\postgres.js:31:8)
at SqlStore.connect (node_modules\better-queue-sql\index.js:53:16)
at Queue._connectToStore (node_modules\better-queue\lib\queue.js:169:15)
at Queue.use (node_modules\better-queue\lib\queue.js:159:8)
at new Queue (node_modules\better-queue\lib\queue.js:80:8)**
I've step debugged to insure that the store object being passed to better-queue has valid information for my database, it does. I'm hoping this is an easy fix, any help would be appreciated.
leanderlee commented
Hi, can you try downgrading to 1.0.3 and see if it fixes it? If so I will revert the push yesterday
DnOberon commented
Downgrading works but then I’m left with two critical dependency security
issues :/
…On Tue, Oct 19, 2021 at 3:53 PM Leander ***@***.***> wrote:
Hi, can you try downgrading to 1.0.3 and see if it fixes it? If so I will
revert the push yesterday
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFS4N5TR3DHHUZ4FQPC5JLUHXSEHANCNFSM5GKCSDHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
leanderlee commented
Nvm fixed and pushed in 1.0.5
DnOberon commented
Thank you @leanderlee