Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAS Build with unknown error #2212

Open
smartdatamn opened this issue Feb 2, 2024 · 1 comment
Open

EAS Build with unknown error #2212

smartdatamn opened this issue Feb 2, 2024 · 1 comment
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@smartdatamn
Copy link

Build/Submit details page URL

https://expo.dev/accounts/bayaraa2054/projects/uniq/builds/f3df4a7a-830e-4bcb-9963-92c863ba0f47

Summary

It is working fine on my local computer. But after eas build I'm getting such an error.

Also, how do I find the following error file from expo.dev?
/home/expo/.npm/_logs/2024-02-02T09_09_41_383Z-debug-0.log

Managed or bare?

managed

Environment

expo-env-info 1.2.0 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 18.14.2 - C:\Program Files\nodejs\node.EXE
npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
expo: ^49.0.22 => 49.0.22
react: 18.2.0 => 18.2.0
react-native: 0.72.6 => 0.72.6
Expo Workflow: managed

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules use compatible support package versions for installed Expo SDK

Didn't find any issues with the project!

Error output

eas build with android:
a
Android

Reproducible demo or steps to reproduce from a blank project

After upgrading Expo 48 to 49.

{
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"eject": "expo eject",
"eas-build-pre-install": "npm install --save --legacy-peer-deps"
},
"dependencies": {
"@alessiocancian/react-native-actionsheet": "^3.2.0",
"@expo-google-fonts/roboto": "^0.2.3",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-navigation/drawer": "^6.6.2",
"@react-navigation/native": "^6.1.6",
"@react-navigation/stack": "^6.3.16",
"@turf/turf": "^6.5.0",
"@twotalltotems/react-native-otp-input": "^1.3.11",
"expo": "^49.0.22",
"expo-apple-authentication": "~6.1.0",
"expo-build-properties": "~0.8.3",
"expo-dev-client": "~2.4.12",
"expo-firebase-analytics": "^4.1.0",
"expo-image-picker": "~14.3.2",
"expo-localization": "~14.3.0",
"expo-location": "~16.1.0",
"expo-media-library": "~15.4.1",
"expo-network": "~5.4.0",
"expo-notifications": "~0.20.1",
"expo-sensors": "~12.3.0",
"expo-speech": "~11.3.0",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"expo-task-manager": "~11.3.0",
"expo-tracking-transparency": "~3.1.0",
"expo-updates": "~0.18.19",
"ignore-warnings": "^0.2.1",
"moment": "^2.29.4",
"moment-duration-format": "^2.3.2",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-app-intro-slider": "^4.0.4",
"react-native-chart-kit": "^6.12.0",
"react-native-confirmation-code-field": "^7.3.1",
"react-native-countdown-timer-hooks": "^1.0.3",
"react-native-datepicker": "^1.7.2",
"react-native-device-detection": "^0.2.1",
"react-native-geojson": "^0.1.1",
"react-native-gesture-handler": "~2.12.0",
"react-native-image-slider-box": "^2.0.7",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-map-clustering": "^3.4.2",
"react-native-maps": "1.7.1",
"react-native-masked-text": "^1.12.5",
"react-native-modal": "^13.0.1",
"react-native-neat-date-picker": "^1.1.0",
"react-native-paper": "^5.2.0",
"react-native-reanimated": "~3.3.0",
"react-native-render-html": "^6.3.4",
"react-native-safe-area-context": "4.6.3",
"react-native-segmented-control-tab": "^4.0.0",
"react-native-svg": "13.9.0",
"react-native-view-shot": "3.7.0",
"react-native-webview": "13.2.2",
"react-xml-parser": "^1.1.8",
"rn-sliding-up-panel": "^2.4.6",
"rn-swipeable-panel": "^1.2.7",
"toggle-switch-react-native": "^3.3.0"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true,
"name": "uniqapp",
"version": "1.0.0"
}

@smartdatamn smartdatamn added the needs review Issue is ready to be reviewed by a maintainer label Feb 2, 2024
@szdziedzic
Copy link
Member

Hi there,

You can use the on-error hook to see the contents of this file.

Your package.json:

...,
"scripts": {
  ...,
  "eas-build-on-error": "cat $(ls -t /home/expo/.npm/_logs/*.log | head -n 1)"
  ...
},
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants