-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libSQL Bundling Error with Expo Router v3 API Routes #97
Comments
I encountered the same problem using Turso, |
I am experiencing the same issue! Any libsql-js dev can solve this? We can't connect Turso databases with an expo-react native app! |
Expo is doing its static analysis on the libsql file. if (0) {
require("./.targets");
} This is suppose to only load when it's in "dev" mode: if (process.env.LIBSQL_JS_DEV) {
return load(__dirname)
} Turso can add a If that doesn't work, try monkey patching that library. |
Any fixes planned @penberg ? |
Hello everyone,
I'm currently in the process of building an Expo app utilizing the Expo Router v3 API routes. Previously, I had been using Planetscale without any issues. However, upon attempting to migrate to Turso, I've encountered a bundling error:
I've created a minimal reproduction of the issue in CodeSandbox
The text was updated successfully, but these errors were encountered: