Skip to content

'Requring invalid module "image!my-icon"' error when trying to include static image #282

@clauderic

Description

@clauderic

When I try to require static assets as per http://facebook.github.io/react-native/docs/image.html#static-assets, I get the following error:

"Requring invalid module "image!my-icon". If you are sure the module is there, try restarting the packager."

Not sure if there are any steps I'm missing? I've included the asset in my Images.xcassets library

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