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

355
Views
npm ERR! cb() never called

I was trying to download expo cli and I got error:-

C:\WINDOWS\system32>npm i -g expo-cli
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/cli/issues>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\HP\AppData\Local\npm-cache\_logs\2021-03-03T14_02_14_809Z-debug.log

I also used npm cache clean --force. But it didn't work too😥

C:\WINDOWS\system32>npm -v
7.6.0

C:\WINDOWS\system32>node -v
v14.16.0

Please help me......

And after doing npm i -g npm it worked!!!!!!

But when I tried to install or download any packages then error:

E:\React-native\practice>npm i react-native-elements
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/cli/issues>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\HP\AppData\Local\npm-cache\_logs\2021-03-04T05_03_20_067Z-debug.log

So what is wrong going on?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Run npm install -g npm & npm cache clean
over 4 years ago · Santiago Trujillo Report

0

If you are using npm version 5 or above:

Try following command:

$ sudo npm cache verify

OR

$ sudo npm cache clean --force

over 4 years ago · Santiago Trujillo Report

0

I've had the same problem, and was able to fix it by adding the flag --legacy-peer-deps to the installation command. For instance:

npm i --legacy-peer-deps package-name
over 4 years ago · Santiago Trujillo 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!