Create-react-app not working on windows

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\srikalyan\AppData\Roaming\npm-cache_logs\2021-01-02T17_57_59_605Z-debug.log

Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file… node_modules
Deleting generated file… package.json
Deleting my-app/ from C:\Users\srikalyan\Desktop\react-folder

I am trying to create a react app with npx and everytime I install it says this.

I’m no expert on Windows (I’m a Linux guy) but I suggest you start by googling npm ERR! cb() never called! I’m getting back a ton of results about this very issue.

1 Like

I could remember having this issue when i was on a very poor internet connection