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.
Expo Documentation
Expo Modules API: Get started
Learn about getting started with Expo modules API.
2 Replies
WN210
WN2106mo ago
No description
WN210
WN2106mo ago
I do see the module show up in the Using expo modules log