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

React Native 0.57.1 archives locally, not on bitrise #92

Open
harryrein3 opened this issue Dec 7, 2018 · 1 comment
Open

React Native 0.57.1 archives locally, not on bitrise #92

harryrein3 opened this issue Dec 7, 2018 · 1 comment

Comments

@harryrein3
Copy link

harryrein3 commented Dec 7, 2018

I have been having issues uploading and archiving on Bitrise ever since upgrading to React Native 0.57.1.

Some potential issues:

In running my project, although this likely doesn't lead to archive issues, I often get the following error:

[error][tid:NSOperationQueue 0x281a8cca0 (QOS: UNSPECIFIED)][RCTCxxBridge.mm:429] Failed to load bundle(http://172.21.82.91:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(Unable to resolve module ./../../../../../react-transform-hmr/lib/index.jsfrom/Users/harryrein/Desktop/superdash-mobile/Superdash/node_modules/react-native/Libraries/Components/Button.js: The module ./../../../../../react-transform-hmr/lib/index.jscould not be found from/Users/harryrein/Desktop/superdash-mobile/Superdash/node_modules/react-native/Libraries/Components/Button.js`. Indeed, none of these files exist:

  • /Users/harryrein/Desktop/superdash-mobile/react-transform-hmr/lib/index.js(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
  • /Users/harryrein/Desktop/superdash-mobile/react-transform-hmr/lib/index.js/index(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx) (null))`

To fix this, I simply run "react-native start --reset-cache" to start the metro, although that shouldn't have anything to do with the archiving.

Locally, the archive succeeds and I can get a .ipa file, which I have been uploading manually to the app store while the bitrise issue continues.

I've attached the build output log, cannot seem to figure out what the discrepancy is between my local archive and the bitrise archive.

xcodebuild-output.log

@harryrein3 harryrein3 changed the title React Native export fail due to metro bundler React Native 0.57.1 archives locally, not on bitrise Dec 7, 2018
@bitce
Copy link

bitce commented Dec 10, 2018

Hi @harryrein3! sorry to hear about the issue, could you please include a build URL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants