D
D
Denis2019-08-10 19:06:34
JavaScript
Denis, 2019-08-10 19:06:34

Command not found when installing create-react-app?

Hello. Can you please tell me how can I run the create-react-app command? The fact is that when I run it in bash, I get an error with the text: bash: create-react-app: command not found. Before creating the application, of course, I first installed this package: npm i create-react-app -g, Then I ran: create-react-app react-app and got an error that the command was not found.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-08-10
@den0820

npx create-react-app my-app
cd my-app
npm start

github

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question