-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
RN 0.63.4 main.jsbundle does not exist. This must be a bug with' #31094
Comments
Bump here |
@ColtraneNadler could you check out this issue: facebook/create-react-app#4540 (comment) to see if it solves your problem |
|
@safaiyeh Not the OP, but facing the same issue (RN 0.63.4) and I already have the latest version of watchman installed from brew (4.9.0_5). I'm on an Apple Silicon macbook 2020. React Native InfoSystem: OS: macOS 11.2.2 CPU: (8) arm64 Apple M1 Memory: 409.72 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 15.9.0 - /opt/homebrew/bin/node Yarn: 2.4.0 - /opt/homebrew/bin/yarn npm: 7.5.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: Not Found IDEs: Android Studio: Not Found Xcode: 12.4/12D4e - /usr/bin/xcodebuild Languages: Java: Not Found 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 References
ReproductionI tried to reproduce the issue in a blank project, but unfortunately, archiving from XCode requires a provisioning profile which can be granted with an Apple developer license, which I don't have. |
I found the issue on my end. It was because of my I. Generic solution with
|
same here |
Above "II. Quick and dirty fix" :
did the job in my case. I have this issue from time to time, but only when running I think somehow sometimes Xcode CLI when building archive can't run watchman. Buildng debug on simulator/physical works fine, only the |
I work it:
|
I have the same issue with RN 0.63.3 , I tried all solutions here, but nothing worked , Can anyone help me? |
I ran Metro bundle with sudo and Build was successful. |
Worked like a charm for me! |
YOU SAVED MY LIFE <3 |
I've been facing this issue lately was there any fix to this, seem like its been a while |
YOU SAVED MY LIFE <3 |
Hello, I don't understand the description of
Hello, I don't understand the description of the issue and the fix. The problem is described as "but not configured for /bin/sh". So if things aren't configured for /bin/sh then why do the solutions involve configuring homebrew/bin (which is already configured according to the description) and not configuring /bin/sh? |
I'd imagine for most users who still can't solve this with any of the above steps have an issue with their javascript. I had a package/dependency issue and that solved it. |
this actually works, archive doesn't |
I don't understand what you are saying - this new file that gets created under |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
piccolo@Piccolos-MacBook-Pro ios % sudo -s 'echo "/opt/homebrew/bin" > /etc/paths.d/200-homebrew' I create an empy file named 200-homebrew in /etc/paths.d/ but still not work. Can you help me? |
My React Native Info
Can someone please explain why the above solution works? Edit: Added the react native info |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
This issue was closed because the author hasn't provided the requested feedback after 7 days. |
export PATH="$PATH:/opt/homebrew/bin" This solved my problem |
@OtavioBraga Your solution worked for me ! Thanks ! |
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
App won't build for release scheme, therefore won't archive.
I have watchman installed. I can build for debug, just not release.
React Native version:
0.63.4
Node version is
v14.15.5
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Expected Results
For the build to succeed
Snack, code example, screenshot, or link to a repository:
During the build process..
In my build phases, I have it set to
I've tried:
and other variations of the solutions on issue #29351 which didn't work either.
Please help!
The text was updated successfully, but these errors were encountered: