Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document --use-npm flag #4457

Closed
wants to merge 1 commit into from

Conversation

farhanaslam5151
Copy link

create react app command updated as it need to be with --use-npm to clear the confusion

create react app command updated as it need to be with --use-npm to clear the confusion
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@farhanaslam5151
Copy link
Author

create react app command make confusion to developers as it need to be with --use-npm

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@iansu
Copy link
Contributor

iansu commented May 14, 2018

I don't think we want to add this to the install command in the README because then everyone will use npm. We specifically use yarn when it's available. If we wanted to use npm all the time then we would just change that code.

The purpose of this flag is to allow people to override the default option of using yarn for troubleshooting any yarn specific issues.

@iansu iansu changed the title ReadMe.md Document --use-npm flag May 20, 2018
@bugzpodder
Copy link

Thanks for the PR. Agree with Ian, CRA uses yarn as the package manager if its already installed so the current example in the README is correct.

@bugzpodder bugzpodder closed this May 31, 2018
@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants