Skip to content

Instantly share code, notes, and snippets.

@JaKXz
Created June 24, 2014 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JaKXz/5b3523fc07fd6c2b4dce to your computer and use it in GitHub Desktop.
Save JaKXz/5b3523fc07fd6c2b4dce to your computer and use it in GitHub Desktop.
After installing cordova (and installing cordova-lib explicitly) seeing this error when listing global packages.
npm ll -g cordova
glob error { [Error: EMFILE, readdir '/usr/local/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/node_modules/core-util-is']
errno: 20,
code: 'EMFILE',
path: '/usr/local/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/node_modules/core-util-is' }
glob error { [Error: EMFILE, readdir '/usr/local/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/node_modules/isarray']
errno: 20,
code: 'EMFILE',
path: '/usr/local/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/node_modules/isarray' }
glob error { [Error: EMFILE, readdir '/usr/local/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/node_modules/string_decoder']
errno: 20,
code: 'EMFILE',
path: '/usr/local/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/node_modules/string_decoder' }
│ /usr/local/lib
└── cordova@3.5.0-0.2.4
Cordova command line interface tool
https://git-wip-us.apache.org/repos/asf/cordova-cli.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment