Becelli
Becelli
TTCTheo's Typesafe Cult
Created by Becelli on 1/24/2024 in #questions
Missing file in t3-turbo Expo app
Hello! I've just scaffolded the create-t3-turbo with Supabase and I'm getting the following error trying to open the Expo App. Project cloned: https://github.com/supabase-community/create-t3-turbo I tried the next app and it works fine.
Error: Unable to resolve module ./node_modules/expo-router/entry from /home/becelli/dev/personal/ofertas-brasil/apps/expo/.:

None of these files exist:
* node_modules/expo-router/entry(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.css|.native.css|.css)
* node_modules/expo-router/entry/index(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.css|.native.css|.css)
at ModuleResolver.resolveDependency (/home/becelli/dev/personal/ofertas-brasil/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:114:15)
Error: Unable to resolve module ./node_modules/expo-router/entry from /home/becelli/dev/personal/ofertas-brasil/apps/expo/.:

None of these files exist:
* node_modules/expo-router/entry(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.css|.native.css|.css)
* node_modules/expo-router/entry/index(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.cjs|.native.cjs|.cjs|.android.scss|.native.scss|.scss|.android.sass|.native.sass|.sass|.android.css|.native.css|.css|.android.css|.native.css|.css)
at ModuleResolver.resolveDependency (/home/becelli/dev/personal/ofertas-brasil/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:114:15)
2 replies
TTCTheo's Typesafe Cult
Created by Becelli on 5/1/2023 in #questions
How to call a server function without tRPC?
Hi! I'm kinda noob on the T3 stack. I created a t3-app without nextAuth and tRPC. However, the scaffolded code doesn't cover a use of the server side code and I wasn't able to figure out how to do it. I tried to export a variable from the server directory, but I got the following error in the app page: Error: ❌ Attempted to access a server-side environment variable on the client
5 replies