-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Generated README containing npm examples is confusing, should be changed to yarn #7411
Comments
After some investigation, console output depends on if So I've only hit the confusing case because I used The README template should probably also depend on what was used. |
Bump |
hey @bugzpodder , I would like to contribute to this issue. |
Go for it @ashr81 ! |
@bugzpodder The |
Maybe you can do it in createReactApp.js as they have a |
@gonzarodriguezt In the above file ( |
You're right! My bad! I see that you've already made the PR, hope it'll get merged :) @ashr81 |
Hope the PR gets merged soon |
Nice work! @ashr81 🍻 |
Upon app creation the output to the console is the following:
It also creates
yarn.lock
and nopackage-lock.json
, so clearly uses yarn to install.On the other hand, the generated README contains the following command examples:
Which is confusing, as if
npm
should be used and is preferred toyarn
.It is not a problem for
start
ortest
, but then when a user want to addreact-router-dom
for instance, chances are she will think the preferred way of doing it is the following:and not
ending up generating the whole new
package-lock.json
alongside theyarn.lock
.IMHO
yarn
commands should be used in the generated README to prevent the confusion.The text was updated successfully, but these errors were encountered: