create-react-app: missing dependencies in package.json when using "create-react-app my-app"command

Is this a bug report?

Yes

Did you try recovering your dependencies?

(Write your answer here.)

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

(paste the output of the command here)

Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Please add screenshots!)

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16

Most upvoted comments

As @corentindesfarges said it’s something related with yarn. My create-react-app didn’t work again after I installed yarn, using create-react-app myproject --use-npmresolved my problem.

This seems to be a Yarn issue.

Temporary workaround :

create-react-app myproject --use-npm