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
Error: Cannot find module [...]sequelize/dist/lib/dialects/postgres.js #141
Comments
Had the same issue on SvelteKit, sequelize-cockroachdb/source/index.js Line 54 in 7cabe7c
switching the require to reference the index file appears to work. Though surely this is not the correct solution but pr created because it worked. #142 I then closed the pr, because I realized the require should be pulling in the index file by default |
Did confirm this does not happen with the standard sequelize postgres driver. |
I think it is caused by this upstream issue: sequelize/sequelize#13787 Can you try using sequelize |
This also required changes in this repo, made in #143 will release this shortly. |
I'm trying to setup cockroachdb using this tutorial, and everything has worked so far except that when i try running the db connection through sequelize I get this error and have had no luck debugging it.
This is my
package.json
:I've tried deleting and reinstalling node_modules and packagelock.json and i've also cleared the npm cache, but still no luck.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: