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

234
Vistas
NPM not installing on local machine

Below are the specifications.

Node Version : v16.13.0
Npm Version : 8.1.2

Below are the commands that i tried one by one.

npm cache clean

npm install --no-bin-links

npm install --save

After that, I got the below error. As clearly shown in the error that the paython PATH issue then I tried the below command and the cmd is halted from last 16 hours

Error Screenshot

After installing the windows build tools it's stuck the screen for the last 16 hours. Below is the command that i execute.

npm install --global windows-build-tools

enter image description here

I tried all possibilities like removing node_modules dir and removing package.json, package-lock.json

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

0

From the error it looks like you have python 3 installed, but the print statement of a module you're trying to compile with node-gyp is written the python 2 way (that is, it's an actual statement and not a function). Try to install python 2 and put it in the path as "python2" like the error message says.

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