Skip to content

Most recent version no longer works with PostgreSQL store? #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DnOberon opened this issue Oct 19, 2021 · 0 comments
Open

Most recent version no longer works with PostgreSQL store? #77

DnOberon opened this issue Oct 19, 2021 · 0 comments

Comments

@DnOberon
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant