-
-
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
Online yarn installs created an undesired package install #1684
Comments
Same issue here, already did some digging. The false package is there because this line evaluates to false when installing with yarn while online. If you install offline (or with npm) the dependency on the false package is not included. |
@tox-p you are right, it's using the false value as the name package |
Thanks so much! Please see comment in #1685. |
I'm going to reopen this because I want to remember to add you to a changelog [somewhere]. 😄 Our fixes were virtually identical, and you deserve some recognition for acting so fast. |
Thanks @Timer, It is not necessary but i really appreciate it. I've been using cra for a long time, so i was happy to give something back 😄 |
Would you be interested in adding a test for this to the end-to-end script, as mentioned in #1685 (comment)? |
@gaearon i've been looking at it and now that i got more time (had to deliver a mobile app) i will try to come up with a solution, i'm looking into awk to add testing in the script, thank you, and sorry for taking such a long time. |
No worries, thanks for helping! |
I just installed create-react-app with
yarn global add create-react-app
and created a project.When i was looking through the dependencies i found out this
And i was not sure what was "false":"0.0.4", while looking at the module i found out that false was just like another leftpad. I find it hard to reason why has been included in cra. If it was intended to be included sorry, i just found odd.
The text was updated successfully, but these errors were encountered: