-
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
added application/json to Accept header #3153
Conversation
Nice, this should work. Might be worth testing with a real Artifactory server to ensure it works. @denniswebb, @briice, @kayneb - Would you be able to try this with your Artifactory server and see whether it fixes the issue? You can grab builds from the CI systems: Windows: https://ci.appveyor.com/api/buildjobs/kria290untiswxeu/artifacts/artifacts%2Fyarn-0.24.0-20170414.1852-unsigned.msi |
Unfortunately that still fails
|
@denniswebb, can you try this version? |
If it works we could make it a setting |
I just tested using this artifact |
I found my issue. Yarn's behavior is different when running as root. We are running as root when building our docker containers. Commit that broke it - d093c6c |
Thanks for finding it out, @denniswebb. |
I think an output when running as root stating that /usr/local/share is being used as home instead. Or a warning when .npmrc or other relevant config files are located in /root but using an alternative home path. |
Sounds like a good idea, would you send a PR? |
@bestander I'm not a real node developer, but I think this will work ok. #3236 |
Summary
Should fix #3136 that was introduced by #3112
cc @Daniel15
Test plan
Tested manually that npm still sends shortened metadata