Skip to content

Can't install from GitHub when always-auth is set to true #3907

@ghost

Description

Do you want to request a feature or report a bug?

Bug report.

What is the current behavior?

$ yarn add --dev npm-publish-git-tag
yarn add v0.28.0-20170710.0901
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error An unexpected error occurred: "https://codeload.github.com/bahmutov/local-or-home-npmrc/tar.gz/7b9c4e239457b0810a98b84707730618e75c9ee2: Request failed \"404 Not Found\"".

If the current behavior is a bug, please provide the steps to reproduce.

Simply run yarn add --dev npm-publish-git-tag within any directory.

You may also run yarn add --dev npm-utils, as npm-utils is the package that has the GitHub reference.

What is the expected behavior?

For yarn to successfully download, and install, the tarball provided by the URL above.

The following simple request works:

curl https://codeload.github.com/bahmutov/local-or-home-npmrc/tar.gz/7b9c4e239457b0810a98b84707730618e75c9ee2

npm install --save-dev npm-utils also works as desired.

Please mention your node.js, yarn and operating system version.

$ yarn --version
0.28.0-20170710.0901

$ node --version
v6.11.0

$ uname -a
MINGW64_NT-10.0 HBETTSPC2 2.7.0(0.307/5/3) 2017-02-17 14:20 x86_64 Msys

Windows 10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions