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.

browser: Can't resolve 'react-native-sqlite-storage'

See original GitHub issue

Issue type:

[ ] question [x] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] sqlite [x] sqljs [x] react-native

TypeORM version:

[x] latest [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

I followed the steps to use typeorm in the browser, including making the webpack changes. I end up with:

./node_modules/typeorm/browser/driver/react-native/ReactNativeDriver.js
Module not found: Can't resolve 'react-native-sqlite-storage' in 'C:\crap\node_modules\typeorm\browser\driver\react-native'

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:46
  • Comments:58 (9 by maintainers)

github_iconTop GitHub Comments

13reactions
goktugyilcommented, Apr 29, 2019

Still happening in 0.2.16

8reactions
muhaimincscommented, Jun 12, 2021

I use Nextjs and still have this issue when building it

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
Module not found: Can't resolve 'react-native' even though sqlite.core.js is in the ./node_modules/react-native-sqlite-storage/lib/ · react- ...
Read more >
react-native-sqlite-storage - npm
Open the solution in Visual Studio 2019 · Right-click Solution icon in Solution Explorer > Add > Existing Project · Select node_modules\react- ...
Read more >
most popular - appsloveworld.com
I am trying to get started by linking sqlite with react native on a simple app.. but somehow keep getting below error: I...
Read more >
Supported platforms - typeorm - GitBook
TypeORM is able to run on React Native apps using the react-native-sqlite-storage plugin. For an example see typeorm/react-native-example.
Read more >
can't resolve 'next-auth/react' - You.com
This is because NextAuth.js is an module that contains both server side only code but also a Universal React client library, which includes...
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