Skip to content

react-native bundle command not recognized #1027

@davidpfahler

Description

@davidpfahler

On Running On Device, section Using offline bundle, it says:

Run the react-native bundle command in terminal from the root directory of your app

Unfortunately, when I tried to bundle my react-native app in this way, but all I got was this:

$ react-native bundle
Command `bundle` unrecognized
Usage: react-native <command>

Commands:
  start: starts the webserver
  install: installs npm react components

I'm running [email protected] and my react-native is based on 0.4.0.

Please clarify what the proper way is to bundle your app for distribution. Thank you :)

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