Help: My expo+nativewind project runs well on the web (Chrome), but encounters errors on Android + expoGo.

Published: (February 2, 2026 at 11:35 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Issue description

I created an Expo project and followed the official documentation to configure Nativewind v5 (https://www.nativewind.dev/v5/getting-started/installation).

The project runs fine on the web (Chrome), but it throws errors when run on Expo Go on Android devices.

Error output

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)

Screenshots

Works on the web

Web screenshot

Errors on Android (Expo Go)

Android error 1

Android error 2

Back to Blog

Related posts

Read more »

# Expo vs Bare React Native

Overview Expo has evolved from a “managed only” solution to a full toolkit that can still eject to a bare workflow when needed. Below is a comparison of Expo v...

Termux

Article URL: https://github.com/termux/termux-app Comments URL: https://news.ycombinator.com/item?id=46854642 Points: 4 Comments: 0...