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

1.8K
Vistas
Why npm install speed so slow?

i am using mac book pro - M1 chip and bigsur

but I have a problem. the speed so slow when i install any library to npm

please click the picture i have counted


the picture, i had install the 'react-native-fast-image' but there consumes more 1000s for installed

likewise, i had typed in terminal, 'npm i or yarn install'

Consumes more than 30 minutes.


for solving this, i have tried deleted xcode, and webstrom, and vsc but, there are no change in speed.

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

0

I had this exact same issue. After speaking with Genius Bar we realised I was on an old version 12 of node. Node 15.5 onwards runs natively on M1 so isn't being parsed through Rosetta 2, which was likely causing the lag.

You can check the version of node you're on by running node -v

If you're on anything below 15, if you run nvm install v15 on terminal this might solve your issue by updating your node.

I had an error at this point (you might not) saying:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Which was solved with this.

After sorting that, when running nvm install v15 it solved the lagginess :) good luck!

You might also find even after installing the latest node, your terminal defaults to an old version (mine did to much bemusement!)

You can solve it be setting a default, check this link.

In short, run: nvm use node

This switches to the latest installed version of node.

over 4 years ago · Santiago Trujillo Denunciar

0

For those who cannot move their project to node 15 overnight.

Install node by itself by going on nodejs.org reduce drastically npm library installation on mac book pro - M1 Pro Monterey.

over 4 years ago · Santiago Trujillo Denunciar

0

Today I used for the first time Node/NPM 17 and I got back to these issues of NPM install taking forever.

I switched back to Node/NPM 14 and everything works again just fine.

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