-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
upgrading from v6.3.0 to v6.4.0 breaks sequelize-cli #994
Comments
Have you tried |
So the issue is that While we work on a solution, you'll need to specify the path without using path.resolve :/ |
Maybe |
Damn. We use path.resolve ourselves on it https://github.com/sequelize/cli/blob/main/src/helpers/config-helper.js#L46 which completely breaks your path. I don't have a hotfix to give you :/, we need to fix that in the cli |
My solution for now is to downgrade to v6.3.0. But wanted to report this error with v6.4.0. If you would like any more information about the env, would be happy to post. |
I think the fix is simple, I need replace this line It went unnoticed on UNIX because paths already look like URLs. |
Managed to reproduce it and solution is as above. I'll open a PR |
We published a new version (6.4.1) which should have fixed this issue. Let us know if it works or not. Thanks again for reporting it! |
v6.4.1 worked for me, thank you! |
Project works fine when migrating with v6.3.0, it breaks when using v6.4.0. I have tried using the
file://
scheme as it asks but it didnt make a difference in the error..sequalizerc
config.cjs
The text was updated successfully, but these errors were encountered: