Your builds are failing within seconds because:
- Expo SDK 54 with React 19.1.0 is brand new (released very recently)
- React Native 0.81.5 requires React 19
- EAS Build may not fully support this combination yet
IMPORTANT: Visit this URL to see the exact error:
https://expo.dev/accounts/reetkumarbind/projects/ReetPortfolioApp/builds
Click on any failed build and look for the error message in the logs.
If logs mention "React Compiler" or "babel-plugin-react-compiler":
npm install --save-dev babel-plugin-react-compilerThen create/update babel.config.js:
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
['babel-plugin-react-compiler', {
runtimeModule: 'react-compiler-runtime'
}]
]
};
};Add this to your app.json:
{
"expo": {
...
"jsEngine": "hermes",
"experiments": {
"typedRoutes": true
}
}
}Sometimes preview builds have issues. Try production:
eas build -p android --profile production --no-waitnpm install react-compiler-runtime
npm install --save-dev @babel/core
eas build -p android --profile preview --no-waitIf all else fails, temporarily remove optional dependencies:
# Remove worklets (optional)
npm uninstall react-native-worklets
# Rebuild
eas build -p android --profile preview --no-wait- Go to: https://expo.dev/accounts/reetkumarbind/projects/ReetPortfolioApp/builds
- Click latest failed build
- Look for error in "Prepare project" or "Install dependencies" phase
- Copy the error message
- Search Expo forums: https://forums.expo.dev/
- Search GitHub issues: https://github.com/expo/expo/issues
- Search Discord: https://chat.expo.dev/
Fix: npm install --save-dev babel-plugin-react-compiler
Fix: Remove reactCompiler: true from experiments in app.json
Fix: npm install react-compiler-runtime
Fix: This usually means dependencies installed successfully, try production build
# Try 1: Add compiler plugin
npm install --save-dev babel-plugin-react-compiler
eas build -p android --profile preview --no-wait
# Try 2: Add runtime
npm install react-compiler-runtime
eas build -p android --profile preview --no-wait
# Try 3: Production build
eas build -p android --profile production --no-wait
# Try 4: Clear cache
eas build -p android --profile preview --clear-cache --no-waitSince Expo SDK 54 with React 19 is very new, Expo might release a patch soon. You could:
- Wait 1-2 weeks for Expo to stabilize SDK 54
- Check Expo changelog: https://expo.dev/changelog
- Update when fixes are released:
npx expo install expo@latest
- Check your build logs at the URL above
- Copy the exact error message
- Try Fix 1 (add babel-plugin-react-compiler)
- If that fails, try Fix 4 (add react-compiler-runtime)
If none of these work:
- Post in Expo forums with your build ID
- Include the error from build logs
- Mention you're using Expo SDK 54 + React 19
Your app is beautifully enhanced and works locally! The build issue is just a temporary compatibility problem with the newest versions.
Run npm start to test your enhanced portfolio app locally while we wait for the build to succeed.