-4

After cloning my React project from git, I ran npm install in my project directory, but the react-scripts/ directory remains empty.

enter image description here

I've deleted the node_modules/ directory and package-lock.json file and tried to install react-scripts again multiple times to no avail.

3
  • 1
    react.dev/blog/2025/02/14/sunsetting-create-react-app Commented Nov 17 at 17:44
  • Thank you for telling me that it has been deprecated. I didn't know. Commented Nov 17 at 17:48
  • Doesn't look empty to me. I see a package.json file in there. Commented 2 days ago

1 Answer 1

-2

Here are some ways that you can check:

  1. First make sure you're inside the project directory at the same level where package.json exists.
  2. check for react-scripts in dependencies inside package.json, if it does not exist try npm install react-scripts
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.