TypeORM 0.2.27 doesn't connect to react-native-sqlite-storage driver (Error: DriverPackageNotInstalledError: React-Native package has not been found installed)
See original GitHub issueIssue type:
[x] bug report [ ] feature request [ ] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ ] mssql
[ ] mysql
/ mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[x] 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:
TypeORM v0.2.27 doesn’t connect to react-native-sqlite-storage driver.
Error is shown:
DriverPackageNotInstalledError: React-Native package has not been found installed. Try to install it: npm install react-native-sqlite-storage --save
TypeORM v0.2.24 works fine. TypeORM v0.2.26 cannot be used with react-native as it has broken browser environment issues fixed in v0.2.27.
react-native-sqlite-storage
is installed correctly. Used v4.0.0 and v5.0.0.
Looks like the same issue as Hana driver.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:6 (3 by maintainers)
Top GitHub Comments
Different issue from hana - this did need to use
require
instead ofPlatformTools.load
in theReactNativeDriver
Thanks for the report
Ok, thanks a lot