Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Static images fail to load in monorepo on iOS

Closed
#1,614 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react-native

Research direction

Start by reproducing the reported setup: a Metro monorepo using Yarn workspaces, with an image required from outside the app directory on iOS. Compare the behavior with issue #1599. Done means the static image loads correctly in that setup instead of silently failing.

Written by the indexing model from the issue text.

Description

Hi Metro team 👋

I’m opening this new issue because I’m still experiencing the same bug as in #1599, but the original reporter is not active anymore and comments are closed.

Summary

In a monorepo (Yarn workspaces), iOS fails to load static images imported via require(...) when the image file is located outside the app directory.

The behavior is identical to #1599:

  • The image silently fails to display on iOS
Dominant language
JavaScript
Stars
5.6k
Forks
699
Avg merge
2d 19h
Merged PRs (30d)
34

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react/metro

All issues in react/metro

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.