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

1.3K
Visualizações
npm is really slow while installing/updating packages from private git repositories

I use a lot of private node packages (stored on my personal github repositories) in my projects:

"devDependencies": {
  ...
  "my-package": "github:username/my-package#master"
  ...
}

my issues is that, when updating a project or when running npm install, the process takes so long (~ 2 mins), while it's stuck doing something like:

reify:my-package: timing reify:loadBundles Completed in 0ms

Is there anything I can do to speed up the processes when using private repos?

Thanks

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

This isn't a problem with Private repositories or GitHub, NPM itself has been very slow recently. You might want to go with a faster alternative like yarn, It's much faster and can save a ton of time.

Installation of Yarn

To install Yarn you just have to run npm install yarn -g. That will install yarn globally.

Commands of Yarn

This cheat sheet of Yarn alternatives to NPM commands can help - https://shift.infinite.red/npm-vs-yarn-cheat-sheet-8755b092e5cc

Hope it helped :)

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