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
Unable to load sqlite on electron #3859
Comments
You didn't give us much details on where are you using it, to see if it isn't really a browser part of electron etc. |
Turned out to be an issue with the dynamic "require" with webpack which had a knock on effect |
BTW, how was this problem solved? I'm having the exact same problem using TypeORM + Electron + Webpack. |
BTW, that's not the first time TypeORM has had conflicts with Webpack... |
It was a long time ago but looking at the project I don't think it was solved, it's using sequelize & sequelize-typescript now. |
Many thanks. I'll see if I can do some workaround. |
Issue type:
[ ] question
[x ] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[ ]
postgres
[ ]
cockroachdb
[x ]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[x ]
latest
[ ]
@next
[ ]
0.x.x
(or put your version here)Getting to this block of code:
for some reason typeorm thinks it's on a browser platform and I cannot for the life of me figure out why or where the type is set. Is there a way to manually override this so it knows it's in a node environment?
The text was updated successfully, but these errors were encountered: