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

185
Vistas
install jest with npm in javascript

i try to install jest by local or global with npm but it does not install

my npm version is 7.5.2 and my node version is 12.22.5 also i have ubuntu

and i try this commands :

npm i -D jest
npm i -g jest
npm i jest

but jest dont installed

this is the error : alireza@SUCCESS:~/Desktop/test$ sudo npm i -D jest [sudo] password for alireza: npm ERR! code FETCH_ERROR npm ERR! errno FETCH_ERROR npm ERR! invalid json response body at https://registry.npmjs.org/@jest%2ftransform reason: Unexpected end of JSON input

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-02-14T12_19_47_677Z-debug.log

it is the error

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Sometimes this error is related to an invalid cache so my first suggestions is to run:

npm cache clean --force.

Let me know if it works.

about 4 years ago · Juan Pablo Isaza 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