question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

Issue 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:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
imnotjamescommented, Sep 30, 2020

Different issue from hana - this did need to use require instead of PlatformTools.load in the ReactNativeDriver

Thanks for the report

0reactions
oleksandr-dziubancommented, Oct 1, 2020

There’s a few other related fixes we will probably be trying to get in for 0.2.29 - no exact ETA but definitely before the end of October! Hopefully much sooner than that.

Ok, thanks a lot

Read more comments on GitHub >

github_iconTop Results From Across the Web

typeorm error driver not connected - You.com | The AI Search ...
I am trying to connect to a MS SQL Server 2014 with Windows Authentication, but I am getting this error: ConnectionError: Login failed...
Read more >
I'm getting an error at run time when im using typeorm with ...
I installed typeorm(also react-native-sqlite-storage) to use it in react native, but i'm getting this error error: ...
Read more >
typeorm: CHANGELOG
Relation load strategy is used on entity load and determines how relations must be loaded when you query entities and their relations from...
Read more >
docs/connection-options.md | typeorm@0.2.2 - Deno
Connection names for different connections cannot be same - they all must be unique. If connection name is not given then it will...
Read more >
typeorm | Yarn - Package Manager
0.3.10 (2022-09-19). Bug Fixes. "Cannot commit, no transaction is active" error in sql.js (#9234 (749809a), closes #9100; add missing support for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found