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
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.
Most helpful comment
I'm not aware of what was causing the problem but I found this and solved. Hope it can help.
In short: