Open script8888 opened 1 month ago
expo already added the reanimated plugin to their babel-preset-expo, so you don't have to set that again provided you're using SDK 50, and of cause, This might not fix it.
TypeError: withNativeWind is not a function
TypeError: withNativeWind is not a function
at Object.<anonymous> (/Users/agrittiwari/OpenSource/devStory/metro.config.js:10:18)
at Module._compile (node:internal/modules/cjs/loader:1375:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1434:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Function.Module._load (node:internal/modules/cjs/loader:1022:12)
at Module.require (node:internal/modules/cjs/loader:1234:19)
at require (node:internal/modules/helpers:176:18)
at module.exports (/Users/agrittiwari/OpenSource/devStory/node_modules/import-fresh/index.js:28:9)
at loadJs (/Users/agrittiwari/OpenSource/devStory/node_modules/cosmiconfig/dist/loaders.js:9:18)
at Explorer.loadFileContent (/Users/agrittiwari/OpenSource/devStory/node_modules/cosmiconfig/dist/createExplorer.js:230:12)
how to add nativewind/metro, if you've added this in package.json @script8888
Describe the bug When I run
yarn run ios
, I get this error in terminal:To Reproduce Steps to reproduce the behavior:
Expected behavior App preview is supposed to load up.
Screenshots This is what my expo app shows up.
Files: my
global.css
is located at the root dir of the project