I’m trying to debug my expo project by creating a debug apk with ‘npx expo run android’ but when the app loads on my device I only get the “ Welcome to Expo Start by creating a file in the app directory.” as if it’s a new project Without any code.
This is the only screen my app displays when i launch on a device.
I think the issue could be from my metro.config
file because if I delete it and restart server the app runs fine but if I add it back it gets stuck here. but I need metro.config
for my native wind styles to work.
metro.config
const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require('nativewind/metro');
const config = getDefaultConfig(__dirname)
module.exports = withNativeWind(config, { input: './global.css' })
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744391632a4571932.html
评论列表(0条)