main.jsbundle does not exist. This must be a bug with "react-native": "0.63.4"
See original GitHub issueI figured out main.jsbundle does not exist. This must be a bug with
issue after upgrading react native from 0.63.3 to 0.63.4 and it was solved,
but now when I tried to Archive a build the same error appears.
when I tried to see the main.jsbundle file from the path generated using archive build using cmd to see if it’s exist, the path is true, but the file doesn’t exist.
I thought that I did a wrong thing in my project, by adding a wrong code or something else in Xcode, then I created a new react-native project and tried to Archive a build, but the same error appears. here is the system info:
OS: macOS 11.2.1
CPU: (8) arm64 Apple M1
Memory: 126.23 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.7.0 - /opt/homebrew/bin/node
Yarn: 1.22.10 - /opt/homebrew/bin/yarn
npm: 7.4.3 - /opt/homebrew/bin/npm
Watchman: 4.9.0 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 23, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.3
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7042882
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_275 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.4 => 0.63.4
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
thanks 🙏
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:12 (1 by maintainers)
Top Results From Across the Web
main.jsbundle does not exist. This must be a bug with #29356
For people who may encounter the same issue, just try to check your node or react native command could be found by XCode....
Read more >main.jsbundle does not exist. this must be a bug with + echo ...
This issue take me some days to fixed. I got this issue when run the build on travis-ci. Here is my fix: Add...
Read more >main.jsbundle does not exist [fixed] | by Onexlab - Medium
Make sure you're running a packager server or have include a .jsbundle file in your application bundle. It will show you the prompt...
Read more >Troubleshooting - React Native
These are some common issues you may run into while setting up React Native. If you encounter something that is not listed here, ......
Read more >React-Native: main.jsbundle does not exist. This must be a ...
Coding example for the question React-Native: main.jsbundle does not exist. This must be a bug with "Cannot convert object to primitive value"
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have the same issue. A regular build works, an archive build fails.
same here. regular build works, archive fails ! main.jsbundle does not exist. This must be a bug with’ I tried the TS version above by @teamzz111 . but no luck Please help . RN - 0.63.4