djbalinD
Convex Community2y ago
9 replies
djbalin

[Convex Auth]: Monorepo Expo app: "Unable to resolve @convex-dev/auth/server" ...

Hi, we're building a Turbo Monorepo Expo app and are running into the error pasted below when running the Expo dev server from our native package. The error occurs during bundling when we try to open our iOS app.

Our native app in
apps/native/package.json
has a dependency on
packages/backend
as
"@flimmer/backend": "*",



iOS Bundling failed 45379ms C:\Users\jgbal\Desktop\code\flimmer-monorepo\node_modules\expo-router\entry.js (1823 modules)
Unable to resolve "@convex-dev/auth/server" from "..\..\packages\backend\convex\schema.ts"


The iOS device error gives this information:

Unable to resolve module @convex-dev/auth/server from C:\Users\jgbal\Desktop\code\flimmer-monorepo\packages\backend\convex\schema.ts: @convex-dev/auth/server could not be found within the project or in these directories: node_modules, ..\..\node_modules
...
> 18 | import {authTables} from '@convex-dev/auth/server';


Thank you!
Was this page helpful?