Skip to content

bundle fails on freshly initialized project #1143

@fcanas

Description

@fcanas

bundle fails when run on a freshly initialized project with no changes.

Steps to reproduce:

$ react-native init Base
...
$ cd Base/
$ react-native bundle
Building package...

/Users/fcanas/github/ReactNativeExperiments/Base/node_modules/react-native/node_modules/bluebird/js/main/promise.js:626
            throw e;
                  ^
Error: EMFILE, open '/Users/fcanas/github/ReactNativeExperiments/Base/node_modules/react-native/node_modules/react-tools/src/browser/ui/dom/ViewportMetrics.js'

Expected Results:

Not sure, as I've never gotten the bundle command to work, but I think I want to see a single .js file output suitable for providing to a React view in some sort of static fashion.

Actual results:
Error and no file output

Notes:
node v0.10.38
react-native-cli v1.4.28

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