Open wogno opened 4 months ago
import { typeORMDriver } from 'react-native-quick-sqlite'
export const datasource = new DataSource({ type: 'react-native', database: 'mydb.db', location: '.', driver: typeORMDriver, entities: [ User
], synchronize: true, logging: DEV,
});
I fill like error is do to typeorm typeORMDriver
I get the same issue after updating RN to "0.74.2" from "0.73.4" and using the new architecture.
I'm experiencing this as well. The suggested workaround didn't work for me sadly.
Can confirm I'm also receiving this error after upgrading to 0.74 w/ New Arch.
Has anyone managed to resolve it?
I am also facing the same on RN 0.75.2 only when new arch is enabled, on both Android and iOS
There's a similar issue on the MMKV https://github.com/mrousavy/react-native-mmkv/issues/688 I will try to see if any patch from MMKV works here.
I install and I get this error, new architecture is enabled
Error: Failed to install react-native-quick-sqlite: React Native is not running on-device. QuickSQLite can only be used when synchronous method invocations (JSI) are possible. If you are using a remote debugger (e.g. Chrome), switch to an on-device debugger (e.g. Flipper) instead.
"react-native-quick-sqlite": "^8.1.0", "react-native": "0.74.2",