Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!