N
N
Nursultan Chynarbek uulu2020-12-16 10:49:02
npm
Nursultan Chynarbek uulu, 2020-12-16 10:49:02

Create React App not loading, what should I do?

I wrote these commands. Please tell me what I did wrong and what needs to be done.

C:\Users\User\Desktop\react-project>npx create-react-app my-app

Creating a new React app in C:\Users\User\Desktop\react-project\my-app.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\User\AppData\Roaming\npm-cache\_logs\2020-12-16T07_32_38_894Z-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\User\Desktop\react-project
Done.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-12-16
@V0xt

Here is a discussion of a similar problem.
Try in the console npm cache verifyor turn off the VPN (if there is one).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question