Skip to content
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

Not compatible with Sequelize v6 #172

Closed
Ryuzeke opened this issue Aug 22, 2020 · 7 comments
Closed

Not compatible with Sequelize v6 #172

Ryuzeke opened this issue Aug 22, 2020 · 7 comments

Comments

@Ryuzeke
Copy link

Ryuzeke commented Aug 22, 2020

Screenshot_29
Getting that error when I'm running it as dev and I have registered ah-sequelize-plugin as a plugin.

@evantahler
Copy link
Member

Hi @Ryuzeke!

Can you share some code that reproduces this? Can you confirm that you've added the config/sequelize.ts file as well?

@Ryuzeke
Copy link
Author

Ryuzeke commented Aug 23, 2020

Yes, i do confirm that i have config/sequelize.ts. I don't have put anything on code. just started and I generate a actionhero project and after followed that tutorial step by step. nothing custom

@evantahler evantahler changed the title UNHANDLED REJECTION: TypeError: Cannot read property 'getQueryInterface' of undefined [Not compatible with Sequelize v6 ] UNHANDLED REJECTION: TypeError: Cannot read property 'getQueryInterface' of undefined Aug 23, 2020
@evantahler evantahler changed the title [Not compatible with Sequelize v6 ] UNHANDLED REJECTION: TypeError: Cannot read property 'getQueryInterface' of undefined Not compatible with Sequelize v6 Aug 23, 2020
@evantahler
Copy link
Member

Great catch! It looks like sequelize-typescript is not yet compatible with sequelize v6.

I'll pin this issue to the ah-sequelize-plugin repo, and update the README to npm install --save sequeliz@5

@evantahler evantahler pinned this issue Aug 23, 2020
@evantahler
Copy link
Member

Readme updated via ecfaf89

@Ryuzeke
Copy link
Author

Ryuzeke commented Aug 23, 2020

Good to know! thank you ^^

@Ryuzeke Ryuzeke closed this as completed Aug 23, 2020
@evantahler
Copy link
Member

Actually, I want to leave this issue open until we can upgrade

@evantahler
Copy link
Member

We are compatible with sequelize v6 now!

@evantahler evantahler unpinned this issue Apr 10, 2021
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

2 participants