Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

707
Vistas
npm ERR! code EMFILE npm ERR! syscall spawn git npm ERR! path git npm ERR! errno EMFILE npm ERR! spawn git EMFILE

I'm trying to run the npm install bitgo command but getting following error on the terminal,

npm ERR! code EMFILE
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno EMFILE
npm ERR! spawn git EMFILE

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/root/.npm/_logs/2021-02-10T04_10_05_236Z-debug.log

You can check the complete log from here: https://textbin.cc/raw/MRAdqetnCx

I tried npm install and git is already installed. When i run git ---version it returns git version 2.24.1 Also tried npm install js-beautify@1.6.14

node.js version: v10.22.0 npm version: 6.14.6

How can I solve this issue?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

EMFILE means too many files open. The process is trying to open more files than your system is permitting. On a UNIX-like operating system (which you seem to be using), you can check the limits with ulimit -Sn (for the "soft" limit) and ulimit -Hn (for the "hard" limit).

How to increase the open file limit permanently can vary. But you can try to do it temporarily like this:

  1. Get the current settings. ulimit -Sn will tell you the soft limit. ulimit -Hn will tell you the hard limit.
  2. Increase the soft limit. If it was 128 and the hard limit is unlimited or larger than 256, then try ulimit -Sn 256

Not all systems will let you increase these limits without root privileges, but many will. If this doesn't work, you may need to look up how to do it on your system.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda