-
Notifications
You must be signed in to change notification settings - Fork 661
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
Trying to add a sequelize model as a resource, UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object. #77
Comments
Hi - thanks for issue :). Can you write what import |
sqModels index.js:
And User model:
|
most probably it is due to the fact that sequelize changed interface in the latest version. i will update it during the weekend and let you know |
@wojtek-krysiak Awesome, I was getting the same thing with MySQLv5.7.23 and I was only grabbing the name from the users table, I couldn't figure out why I was getting that TypeError: |
Gents - fixed that in admin-bro-sequelizejs v0.2.2 - please update your package.json files and let me know if it still occurs. |
It works, thanks. |
First of thanks for this well done project,
I got an issue trying to add a Sequelize model as a resource,
The error is:
I followed example express app
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: