E
E
enumaelish2019-12-07 11:44:47
Node.js
enumaelish, 2019-12-07 11:44:47

Problem installing React. What's wrong?

I have installed React via npm (npx create-react-app my-app) several times, and it uploads node_modules and the package.json file to my folder and that's it.
package content:

{
  "name": "my-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "react-scripts": "3.3.0"
  }
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Didenko, 2019-12-07
@Dasslier

Write these 2 commands:
After installation
The first command will most likely have to be executed with sudo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question