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.

Screenshot 2019-08-05 at 17 12 37

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 4
  • Comments: 20 (5 by maintainers)

Commits related to this issue

Most upvoted comments

Shipped on v4.4.1 powered by @DanielRuf