Skip to content

Scoped packages don't work due to missing authorization header #1687

@KidkArolis

Description

@KidkArolis

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

What is the current behavior?
Running yarn fails when we try installing @scoped/packages. I get Error: https://yarn-scopes-issue-hplobdybcq.now.sh/@foo/bar/-/@foo/bar-1.0.0.tgz: invalid tar file.

If the current behavior is a bug, please provide the steps to reproduce.
Follow the instructions in this repo to easily reproduce on your machine.
https://github.com/KidkArolis/yarn-scopes-issue

What is the expected behavior?
Running yarn works and installs scoped packages.

Please mention your node.js, yarn and operating system version.
Node 6, MacOS, yarn 0.16.1.

Other comments
This issue is being fixed via #1666. I've opened this issue in case alternative designs should be discussed as well as a central point for solving this issue, since there's also a dupe PR at #1561.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions