Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #3890
Closed
Open
Issue created Jan 22, 2018 by Administrator@rootContributor

Document using yarn for getting started in readme

Created by: bondz

Yarn has support for using create-react-app without first installing the binary via

yarn create react-app app-name

I understand most beginners might not have yarn installed, but it can help avoid issues like #1965 (closed). Yarn is stable and some people would have it on their machine.

I'd have created a PR but I want to understand why it wasn't documented earlier. I've mostly used this option when creating CRA apps, its mostly faster than npm too.

If someone ends up using yarn to install modules after creating an app using npx which currently defaults to npm, yarn does an integrity check and reinstalls the tree. We already document that npm >= 5 does the same thing.

Assignee
Assign to
Time tracking