WN210
WN210
TTCTheo's Typesafe Cult
Created by WN210 on 1/10/2024 in #questions
Expo Module Development Issue on WSL2
I am trying to develop a react native app with expo while I am on WSL2. I added --tunnel to my can run start and android npm scripts, and everything works as expected (start shows QR code which I can connect using my android phone via Expo Go app, and android will run in my emulator in Android Studio) This works great, until I try to develop a module as well. I used npx create-expo-module my-module (tutorial/expo docs: https://docs.expo.dev/modules/get-started/#creating-a-new-module-with-an-example-project) and tried to spin up the default code without any changes: 1. npm run build in main directory 2. npm run android (with --tunnel added) in the example directory But I keep getting the error: - Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release' I've done a bunch of googling + troubleshooting + reading through Docs but can't find the issue. I can't find a tutorial which also uses WSL2 for developing expo modules so I am assuming the issue comes from that.
4 replies
TTCTheo's Typesafe Cult
Created by WN210 on 5/20/2023 in #questions
background tasks in t3 stack?
is there a recommended way to run background tasks with the t3 stack? I am putting some objects in s3 buckets and returning the response to the user, but Iwant the s3 event to trigger some processing which then will update my db. Do I need to spin up a separate lambda that connects to my database via prisma, or is there a built-in solution?
4 replies