Q:

npm install react

RUN IN CMD

npm install -g create-react-app
4
npx create-react-app my-app
cd my-app
npm start
-3
npx create-react-app my-app    // npx on the first line is not a typo 
cd my-app
npm start
7
npm install --save typescript @types/node @types/react @types/react-dom @types/jest

# or

yarn add typescript @types/node @types/react @types/react-dom @types/jest
0
npx create-react-app app-name
cd app-name
npm start
5

New to Communities?

Join the community