Closed
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Yarn fails to install dependencies from private registry. NPM-Cli works though. Tokens (in an up-to-date format) are in place in $HOME/.npmrc
.
If the current behavior is a bug, please provide the steps to reproduce.
Set up .npmrc in project root:
registry=https://OUR_REGISTRY/repository/npm
Run: yarn --verbose
verbose Request "https://OUR_REGISTRY/repository/npm/angular-bootstrap-scrolling-tabs" finished with status code 401.
verbose Performing "GET" request to "https://OUR_REGISTRY/repository/npm/angular-messages".
verbose Error: Couldn't find package "angular-bootstrap-scrolling-tabs" on the "npm" registry.
at MessageError (/usr/share/yarn/lib/errors.js:8:5)
at /usr/share/yarn/lib/resolvers/registries/npm-resolver.js:207:15
at next (native)
at step (/usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at process._tickCallback (internal/process/next_tick.js:103:7)
error Couldn't find package "angular-bootstrap-scrolling-tabs" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
What is the expected behavior?
Installation of dependencies to succeed.
Please mention your node.js, yarn and operating system version.
- Fedora25
- NodeJS v6.9.2
- Yarn v0.19.1