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

When ejected a No bundle URL present. error crashes the build. #3

Closed
karloluis opened this issue Dec 13, 2017 · 4 comments
Closed

When ejected a No bundle URL present. error crashes the build. #3

karloluis opened this issue Dec 13, 2017 · 4 comments
Labels

Comments

@karloluis
Copy link

Description

After successfully running the default App with Expo I tried to eject it and have it working without it. Once ejected the Build succeeded but when running yarn run ios (Working from a Mac Book w/ Xcode) a error pupped up.

screen shot 2017-12-13 at 3 20 58 pm

screen shot 2017-12-13 at 3 22 03 pm

Expected Behavior

After running yarn run eject I expected the yarn run ios build and run the default app successfully.

Observed Behavior

The build succeeded but when running the packager/emulator errors with the .jsbundle where crashing.

Error text goes here!

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: n/a
  • npm ls react-native: 0.47.2
  • npm ls expo: n/a
  • node -v: 8.9.1
  • npm -v: 5.5.1
  • yarn --version: 1.3.2
  • watchman version: n/a

Also specify:

  1. Operating system:
  2. Phone/emulator/simulator & version:

Reproducible Demo

  1. Eject generated CRNA w/ TS script.
  2. Run ios script

PS noted that this might be a react-native related issue, but have not found a work around for either JS nor TS.

@manvesh
Copy link

manvesh commented Mar 8, 2018

Are there any fixes/workarounds for this?

@oscarCrespo
Copy link

oscarCrespo commented Mar 14, 2018

This solved it for me:
facebook/react-native#12754 (comment)

@JuanCBermudez
Copy link

I still have the same issue with android. Everything works fine when I run the app via Expo. But when I eject it and then run it with yarn run android I get the following error :

screenshot_20180830-165759

@Andraide
Copy link

You first need to start the bundler .

In one terminal type ... npm start (This command start the bundler )
In a second terminal type ... npx react-native run-ios

( Or equivalents to npm and npx react-native )

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

No branches or pull requests

6 participants