Cli: cb() never called!

Created on 8 Nov 2019  路  7Comments  路  Source: npm/cli

i tried installing the react expo cli using "npm install -g expo-cli"
and i recieved this error in my log file
21640 error cb() never called!
21641 error This is an error with npm itself. Please report this error at:
21642 error https://npm.community

Most helpful comment

I have got the same error using npx create-react-app my-app

I'm not aware of what was causing the problem but I found this and solved. Hope it can help.
In short:

sudo npm cache clean -f
npm install -g n
sudo n stable
npx create-react-app my-app

All 7 comments

I have got the same error using npx create-react-app my-app

I have got the same error using npx create-react-app my-app

I'm not aware of what was causing the problem but I found this and solved. Hope it can help.
In short:

sudo npm cache clean -f
npm install -g n
sudo n stable
npx create-react-app my-app

Node helper n doesn't work on windows.
Force clearing the cache helped solve my problem.
Thanks @JacopoBonta

trying it out

thanks but it still didnt work for me

Duplicate issue; aggregating into https://github.com/npm/cli/issues/417.

Was this page helpful?
0 / 5 - 0 ratings