verdaccio: Package with dash in its name fails to install with Yarn and NPM
Describe the bug
This package: https://yarnpkg.com/en/package/@ember-data/-build-infra is sub dependency of ember-data package. When trying to install ember-data@3.11 or @ember-data/-build-infra package directly served by Verdaccio, Verdaccio will return 404 error.
To Reproduce
Make sure package is not already on local cache.
yarn add @ember-data/-build-infra or npm install @ember-data/-build-infra
Expected behavior
Package to be successfully installed.
Environment information
Verdaccio 4.2.0 Yarn v1.17.3 NPM v6.4.1
Screenshots
Seems like there is no tarball stored on disk at all.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 20 (5 by maintainers)
Commits related to this issue
- fix: prevent issue with leading hyphen in package name - fixes #1429 — committed to verdaccio/verdaccio by deleted user 5 years ago
- fix: prevent issue with leading hyphen in package name - fixes #1429 (#1636) — committed to verdaccio/verdaccio by DanielRuf 4 years ago
Shipped on
v4.4.1powered by @DanielRuf