Skip to content

Error: Could not authenticate deployment #1952

@yorch

Description

@yorch

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

What is the current behavior?
Getting an error when trying to run yarn install on an Angular 2 project that works fine with npm install

yarn install v0.17.6
info No lockfile found.
[1/4] 🔍  Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@angular%2fcommon: Could not authenticate deployment".
info If you think this is a bug, please open a bug report with the information provided in "/Users/user/Project/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

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

  • Create a project using angular-cli
  • Delete node_modules
  • Run yarn install

What is the expected behavior?
To yarn to run successfully and to have all the dependencies installed in node_modules

Please mention your node.js, yarn and operating system version.
node 7.1.0, installed with nvm
MacOS 10.11.6
yarn 0.17.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions