Skip to content

@rozenite/require-profiler-plugin/metro - Unable to resolve module missing-asset-registry-path #161

@ahmedu007

Description

@ahmedu007

Describe the bug

Unable to resolve module missing-asset-registry-path.

Multiple of these show up in the app. When I disabled the first gif image (its a legacy component), it showed up on a png then jpg and continued. I'm not sure if there is a way to make it ignore images altogether if its easy?

Here is the metro config setup:

module.exports = withRozenite(mergeConfig(defaultConfig, config), {
    projectType: 'react-native-cli',
    enabled: !process.env.CI,
    enhanceMetroConfig: config =>
        withRozeniteRequireProfiler(
            // @ts-expect-error this is safe because all functions return a valid MetroConfig object.
            withRozeniteExpoAtlasPlugin(withRozeniteReduxDevTools(wrapWithReanimatedMetroConfig(config))),
        ),
});

Image

System Info

System:
  OS: macOS 26.2
  CPU: (16) arm64 Apple M4 Max
  Memory: 1.01 GB / 64.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.19.2
    path: ~/.local/state/fnm_multishells/55737_1766248855383/bin/node
  Yarn:
    version: 4.12.0
    path: ~/.local/state/fnm_multishells/55737_1766248855383/bin/yarn
  npm:
    version: 10.8.2
    path: ~/.local/state/fnm_multishells/55737_1766248855383/bin/npm
  Watchman:
    version: 2025.11.10.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/umair/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.2
      - iOS 26.2
      - macOS 26.2
      - tvOS 26.2
      - visionOS 26.2
      - watchOS 26.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.1 AI-251.27812.49.2514.14217341
  Xcode:
    version: 26.2/17C52
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.17
    path: /Users/umair/.jenv/shims/javac
  Ruby:
    version: 3.2.2
    path: /Users/umair/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 18.0.0
    wanted: 18.0.0
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.79.6
    wanted: 0.79.6
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true


        "@rozenite/expo-atlas-plugin": "^1.1.0",
        "@rozenite/metro": "^1.1.0",
        "@rozenite/mmkv-plugin": "^1.1.0",
        "@rozenite/network-activity-plugin": "^1.1.0",
        "@rozenite/performance-monitor-plugin": "^1.1.0",
        "@rozenite/react-navigation-plugin": "^1.1.0",
        "@rozenite/redux-devtools-plugin": "^1.1.0",
        "@rozenite/require-profiler-plugin": "^1.1.0",

Rozenite Version

1.1.0

Reproduction

Latest

Steps to reproduce

Run metro config plugin with images

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions