Skip to content

[Image + Packager] Recurring require("image!...") issues #521

Description

@JonathanMatthey

following up on #282 - it still seems to happen to a lot of us. works fine for a while and then out of nowhere
image

tried all the suggested solutions

  • updating global react-native 0.3.1
  • updating local react-native 0.3.1
  • node_modules .. packager.sh with --assetsRoot = defined
  • naming imagesets exactly the same as the image filename

a temporary fix is to host your localhost and serve the image through {{ uri: "localhost... myimage.png"}} - that works fine :) but not a great solution

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions