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

Build Failed with Expo and React Native - main.jsbundle does not exist #39460

Closed
tej-thambi opened this issue Sep 14, 2023 · 5 comments
Closed
Labels
📦Bundler Needs: Triage 🔍 Type: Expo Issues that are related to Expo CLI/EAS or other integration built on top of React Native

Comments

@tej-thambi
Copy link

Description

I'm developing an app using Expo and React Native, and trying to make an iOS build using eas build -p iOS. It fails every time at Run fastlane, and the build details show the following message:

❌ error: File /Users/expo/Library/Developer/Xcode/DerivedData/freeapp-celtkelekabrvocesclaslgcuhcp/Build/Intermediates.noindex/ArchiveIntermediates/freeapp/BuildProductsPath/Release-iphoneos/freeapp.app/main.jsbundle does not exist. This must be a bug with React Native, please report it here: https://github.com/facebook/react-native/issues

React Native Version

0.72.4

Output of npx react-native info

info Fetching system and libraries information...
System:
OS: macOS 13.3.1
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 684.48 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 14.21.2
path: ~/.nvm/versions/node/v14.21.2/bin/node
Yarn:
version: 1.22.19
path: ~/.nvm/versions/node/v14.21.2/bin/yarn
npm:
version: 6.14.17
path: ~/.nvm/versions/node/v14.21.2/bin/npm
Watchman:
version: 2023.01.30.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.12.0
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9514443
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.4
wanted: 0.72.4
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

Steps to reproduce

eas build -p iOS

Snack, screenshot, or link to a repository

expo/expo#21542

@github-actions github-actions bot added the Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. label Sep 14, 2023
@github-actions
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@cortinico cortinico added Type: Expo Issues that are related to Expo CLI/EAS or other integration built on top of React Native and removed Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Sep 15, 2023
@github-actions
Copy link

⚠️ Issue is Related to Expo
ℹ️ It looks like your issue is related to Expo and not React Native core. Please open your issue in Expo's repository. If you are able to create a repro that showcases that this issue is also happening in React Native vanilla, we will be happy to re-open.

@cortinico
Copy link
Contributor

If you're using Expo, please report the bugs on Expo's repository.

This must be a bug with React Native, please report it here: facebook/react-native/issues

This error message is confusing and should probably be changed by the Expo folks (cc @Kudo)

@Kudo
Copy link
Contributor

Kudo commented Sep 15, 2023

@cortinico you should did that already in f874a7e 😅

@tej-thambi for eas build problem. please open an issue at https://github.com/expo/expo/issues.

@cortinico
Copy link
Contributor

you should did that already in f874a7e 😅

Oh man 😅 you're so right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦Bundler Needs: Triage 🔍 Type: Expo Issues that are related to Expo CLI/EAS or other integration built on top of React Native
Projects
None yet
Development

No branches or pull requests

3 participants