I have a project that installs a lot of dependencies and sub-dependencies (I'm not sure if this is an accurate measure, but find node_modules -name package.json | wc -l returns 2909). When I run node ./node_modules/.bin/lockdown-relock, I get a lot of output like:
glob error { [Error: EMFILE, readdir '/Users/rjmunro/ultimate-player/node_modules/protractor/node_modules/request/node_modules/hawk/node_modules/hoek']
errno: 20,
code: 'EMFILE',
path: '/Users/rjmunro/ultimate-player/node_modules/protractor/node_modules/request/node_modules/hawk/node_modules/hoek' }
(EMFILE is related to having too many files open, which is why I suspect the large dependency tree is the issue here. I found some stuff about it here http://stackoverflow.com/questions/8965606/node-and-error-emfile-too-many-open-files)
I have a project that installs a lot of dependencies and sub-dependencies (I'm not sure if this is an accurate measure, but
find node_modules -name package.json | wc -lreturns 2909). When I runnode ./node_modules/.bin/lockdown-relock, I get a lot of output like:(EMFILE is related to having too many files open, which is why I suspect the large dependency tree is the issue here. I found some stuff about it here http://stackoverflow.com/questions/8965606/node-and-error-emfile-too-many-open-files)