Skip to content

Error: ENFILE: file table overflow on MacOS Sierra #1938

@gsc-dev

Description

@gsc-dev

For bugs, please fill out the three following sections completely. Failure to provide
this information may result in your ticket being closed without comments.

Are you looking for support for installation/getting started with Reaction? Please go
to our Gitter channel instead.

Expected behavior

Reaction starts successfully after fresh instalation

Actual Behavior

Reaction failing:

$ sudo npm install -g reaction-cli
$ reaction init
$ cd reaction
$ reaction
TypeError: Invalid Version: null

Using settings file at settings/dev.settings.json

Setting up plugin imports...

Setting up style imports...

[[[[[ ~/code/reaction ]]]]]

=> Started proxy.
=> Meteor 1.4.3.1 is available. Update this project with 'meteor update'.
=> Started MongoDB.
cfs:gridfs: updating npm dependencies -- mongodb, gridfs-stream...
/Users/ronaldo.pontes/.meteor/packages/meteor-tool/.1.4.2_7.1euozxw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:280
						throw(ex);
						^

Error: ENFILE: file table overflow, scandir '/Users/ronaldo.pontes/code/reaction/.meteor/local/.build431100.build'
    at Error (native)
    at Object.fs.readdirSync (fs.js:808:18)
    at rmkidsSync (/Users/ronaldo.pontes/.meteor/packages/meteor-tool/.1.4.2_7.1euozxw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/rimraf/rimraf.js:329:11)
    at rmdirSync (/Users/ronaldo.pontes/.meteor/packages/meteor-tool/.1.4.2_7.1euozxw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/rimraf/rimraf.js:322:7)
    at Function.rimrafSync [as sync] (/Users/ronaldo.pontes/.meteor/packages/meteor-tool/.1.4.2_7.1euozxw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/rimraf/rimraf.js:293:9)
    at Object.rm_recursive (/tools/fs/files.js:283:12)
    at Builder.abort (/tools/isobuild/builder.js:696:11)
    at /tools/isobuild/bundler.js:2538:13
    at /tools/isobuild/bundler.js:2827:22
    at /tools/utils/buildmessage.js:271:13
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:264:29
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:262:18
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:253:23
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.capture (/tools/utils/buildmessage.js:252:19)
    at bundle (/tools/isobuild/bundler.js:2660:31)
    at /tools/isobuild/bundler.js:2607:32
    at Object.withCache (/tools/fs/files.js:1601:12)
    at Object.exports.bundle (/tools/isobuild/bundler.js:2607:16)
    at /tools/runners/run-app.js:574:36
    at Function.run (/tools/tool-env/profile.js:490:12)
    at bundleApp (/tools/runners/run-app.js:573:34)
    at AppRunner._runOnce (/tools/runners/run-app.js:617:35)
    at AppRunner._fiber (/tools/runners/run-app.js:876:28)
    at /tools/runners/run-app.js:403:12

Steps to Reproduce the Behavior

$ sudo npm install -g reaction-cli
$ reaction init
$ cd reaction
$ reaction

image

For enhancements or other issues, please describe in as much detail as
possible how the app should be changed and how this would benefit
users/developers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions