Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@frankcalise
Copy link
Contributor

@frankcalise frankcalise commented Jun 8, 2024

Please verify the following:

  • yarn test jest tests pass with new tests, if relevant
  • yarn lint eslint checks pass with new code, if relevant
  • yarn format:check prettier checks pass with new code, if relevant
  • README.md (or relevant documentation) has been updated with your changes

Describe your PR

[Error: Module "1" is missing from the asset registry]

@AtlantisPleb
Copy link

AtlantisPleb commented Jun 9, 2024

Seems there is still an underlying issue with the font loading.

This PR's fix gets past the white screen, but the error persists - and SpaceGrotesk never loads.

  if (!rehydrated || !isNavigationStateRestored || (!areFontsLoaded && !fontLoadError)) {
    return null
  } else {
    console.log(fontLoadError)
  }

...still gives:
[Error: Module "1" is missing from the asset registry]

and SpaceGrotesk is missing:

nospace

(on a fresh Ignite app with:)

      npx ignite-cli new PizzaApp \
        --bundle=com.demo.app \
        --git \
        --install-deps \
        --packager=yarn \
        --target-path=/Users/username/code/pizzaapp \
        --remove-demo=false \
        --workflow=expo \
        --no-timeout=false

@frankcalise frankcalise changed the title fix(boilerplate): properly wait for fonts to load fix(boilerplate): bump RN 0.74.2 Jun 10, 2024
@frankcalise frankcalise merged commit df94f0d into master Jun 10, 2024
@frankcalise frankcalise deleted the @frankcalise/font-load-error branch June 10, 2024 04:45
infinitered-circleci pushed a commit that referenced this pull request Jun 10, 2024
## [9.7.1](v9.7.0...v9.7.1) (2024-06-10)

### Bug Fixes

* **boilerplate:** bump RN 0.74.2 ([#2695](#2695) by [@frankcalise](https://github.com/frankcalise)) ([df94f0d](df94f0d))
@infinitered-circleci
Copy link
Collaborator

🎉 This PR is included in version 9.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting Started - the app lands on a blank page

3 participants