Why is the Typeorm require the react-native-sqlite-storage module that is not using in my project?
See original GitHub issueIssue type:
[x] question [ ] bug report [ ] feature request [ ] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ ] mssql
[x] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo
TypeORM version:
[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)
Steps to reproduce or a small repository showing the problem:
Hi ~ When I using typeorm with Next.js react framework… I got the warning message like this.
./node_modules/typeorm/browser/driver/react-native/ReactNativeDriver.js Module not found: Can't resolve 'react-native-sqlite-storage' in '/Users/chicrock/Documents/projects/node_modules/typeorm/browser/driver/react-native'
I only use mysql database in my project.
why is typeorm load the react-native-sqlite-storage module unnecessary to me.
Is this bug ? or something wrong to my usage ?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:25 (6 by maintainers)
Top Related StackOverflow Question
👀
I’m using next.js 9.2 with postgresql and I was affected by this too.
@marcorinck solution works without any problem
in my case this created a problem of circular dependency and rejected promise without a catch
this is the log of the problem after I start the server that DOESN’T use sql-lite…
this is a really really weird and unexpected bug…
currently on