Open YANGHYUK opened 1 week ago
"NODE_ENV": "production"
I found something weird.
when i remove "NODE_ENV": "production"
Build is successful.
"production": {
"env": {
"EXPO_PUBLIC_API_URL": "******"
// "NODE_ENV": "production" => remove
},
"android": {
"buildType": "apk",
"env": {
"PROGUARD_ENABLED": "true"
}
},
"distribution": "internal",
"channel": "production"
}
The same happened to me and removing the node env also fixed it
I'm trying to build expo with this command.
eas build --profile production --platform android --local
it failed with proguard. (but without proguard , it succeeds.eas build --profile preview --platform android --local
)eas.json
app.json
metro.config.js
whole error!