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

Blank screen for new app, and no hot-reloading #16

Closed
Ibcs16 opened this issue Oct 23, 2021 · 4 comments
Closed

Blank screen for new app, and no hot-reloading #16

Ibcs16 opened this issue Oct 23, 2021 · 4 comments

Comments

@Ibcs16
Copy link

Ibcs16 commented Oct 23, 2021

  • I'm submitting a ...
    [X ] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    I don't why, but Ive tried to setup a project many times now, and all I get is a blank screen. It also never hot-reload when I change something in App file. Dont have a clue why!?

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

  • Runnpx create-react-native-dapp command

  • Run yarn start
    Gives a blank screen and nothing else

@cawfree
Copy link
Owner

cawfree commented Oct 28, 2021

Hello, this looks like a duplicate of #17, so I'm going to close this issue in the hope that we can continue discussion there.

@cawfree cawfree closed this as completed Oct 28, 2021
@blixit
Copy link

blixit commented Nov 11, 2021

Hello,
I allow myself to comment this closed thread because I think this error is not #17 related. I hope my analysis is right if not I apologize for adding confusion.

I also add this comment because my resolution step is reproductible. Fixing the warnings about the version of @react-native-async-storage/async-storage and react-native-get-random-values helped to resolve the problem.

Local Context:

  • MacOS 12
  • Xcode 13
  • node 12 (by the way, it should be explicit in the readme)
  • yarn 1.22.10
  • expo 4.13.0

After installation, running expo start led me to a blank screen on my iOS simulator running expoGo:

iOS 15 simulator expo start warning
image image

I first ignored the warnings by trying many other solutions like ejecting Expo. I felt I was leaving the solution behind me. Then I tried to fix the warnings.

I upgraded all the libraries. It turns out that using the [email protected] introduced a conflict with WallectConnect internal configuration. So I decided to rollback to 9.6.4 but keeping upgraded the versions of @react-native-async-storage/async-storage and react-native-get-random-values.

That's the way I fixed up the white screen issue

image

@dparker2
Copy link

seconded, upgrading both react-native-get-random-values and @react-native-async-storage/async-storage fixes this issue for me too

@demayaa
Copy link

demayaa commented Feb 27, 2022

@blixit thanks bro

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

5 participants