-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Install script fails if gpg
is not available and $YARN_GPG
is not set to no
#2012
Comments
Oops, my mistake. Thanks @BanzaiMan |
- Old versions of Mac OS (10.10 and below) require the `-t` option for `mktemp` - The check for GPG wasn't returning correctly, and tried to run GPG even when not available Closes yarnpkg#2012 Closes yarnpkg#1984
I still run into this warning while upgrading.
|
@maximelafarie - I don't see any errors in your output? Seems like the installer worked? |
@Daniel15 You're right, that's just a warning 😅 |
Yeah it's just a warning. To avoid it, you should install GPG.
Sent from my phone.
…On Oct 14, 2017 1:39 AM, "Maxime Lafarie" ***@***.***> wrote:
@Daniel15 <https://github.com/daniel15> You're right, that's just a
warning 😅
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2012 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFnHTo5RlFUtnXGpJqbDaOoUxVHu59Tks5sr3YkgaJpZM4K69Jd>
.
|
To possibly save someone a Google search: |
In my case (Travis CI + Windows):
|
And for alpine: |
Right now it's |
What is the current behavior?
When
gpg
is not available and$YARN_GPG
is not set tono
, the installation with the script failsIf the current behavior is a bug, please provide the steps to reproduce.
Remove
gpg
from$PATH
and execute:What is the expected behavior?
Installation succeeds
Please mention your node.js, yarn and operating system version.
Not relevant.
Analysis
The offending part is here:
yarn/scripts/install-latest.sh
Lines 34 to 38 in 2a4a56f
return
does not get out of the functionyarn_verify_integrity
.Instead, it should be more complete with
if
:The text was updated successfully, but these errors were encountered: