Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

704
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda