R
R
rus762020-12-16 20:48:00
npm
rus76, 2020-12-16 20:48:00

Creating an application on React - hangs. How to create a new application?

I'm trying to build a react app. I just started looking into these libraries. Installed NODE.JS and am trying to execute a command npx create-react-app my-appfrom the React documentation. Next, 152MB files are downloaded and the script execution freezes. Always on [email protected] Tried a different user on the system, uninstalled (with cache) and reinstalled Node with NPM. Nothing helped. Please, help.

Here's what's in powershell

PS C:\Users\Alexandr\Desktop\houston> npx create-react-app houston-site
npx: installed 67 in 6.065s

Creating a new React app in C:\Users\Alexandr\Desktop\houston\houston-site.

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


> [email protected] postinstall C:\Users\Alexandr\Desktop\houston\houston-site\node_modules\babel-runtime\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall C:\Users\Alexandr\Desktop\houston\houston-site\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall C:\Users\Alexandr\Desktop\houston\houston-site\node_modules\core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall C:\Users\Alexandr\Desktop\houston\houston-site\node_modules\ejs
> node ./postinstall.js

+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
added 1908 packages from 721 contributors and audited 1912 packages in 97.39s

121 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities


Initialized a git repository.

Installing template dependencies using npm...
[            ......] \ postinstall: info lifecycle [email protected]~postinstall: [email protected]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Developer, 2020-12-16
@samodum

You may need administrator rights. Run cmd as administrator and reinstall from there.
I had this, I solved it this way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question