-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Bug: Seeder crash #498
Comments
Mhhh, can it be that in the seeder file, the class is not presented as a default export to the outside world? |
That just might be it. I'll check again and get back to you ASAP. |
That would be great 😊 |
maybe i should make the documentation more detailed or allow non default exports 🤔 . |
Hi. I'm really sorry about the delay. IRL is a bit hectic and I don't have much time to get back to the project that I wanted to use this library with. You can leave this on the backburner for now. I'll do my best to reproduce this weekend. If I can't then I'll simply close this and hope you'll forgive the pointless noise. 🙏 |
I was not able to reproduce the issue. |
Don't worry 😇 . I am always happy to receive feedback, ideas or suggestions for improvement 😊 . It's always nice when a project evolves through the community and covers more requirements. |
Versions
Steps to reproduce
Configure a library for seeding.
What is Expected?
Database is seeded
What is actually happening?
Crash:
/Users/stanislas/Documents/Projects/qanoune/backend/node_modules/typeorm-extension/dist/seeder/module.js:97 const clazz = new seeder(); ^ TypeError: seeder is not a constructor
The text was updated successfully, but these errors were encountered: