I created an Expo project,
and then followed the official documentation to configure Nativewind v5 (https://www.nativewind.dev/v5/getting-started/installation).
My project runs well on the web(Chrome), but it encounters errors when run on Expo Go on Android phones.
Error prompt on the terminal:
ERROR Error: failed to deserialize; expected an object-like struct named Specifier, found ()
at compile (E:\code\expo\nativewindV5\node_modules\react-native-css\dist\commonjs\compiler\compiler.js:98:7)
at Object.transform (E:\code\expo\nativewindV5\node_modules\react-native-css\dist\commonjs\metro\metro-transformer.js:23:45)
Please help me!
I've spent the whole day trying to solve it, but I haven't succeeded.

error on Android phone + expoGo



Top comments (0)