-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package with dash in its name fails to install with Yarn and NPM #1429
Comments
Related: #1400 |
Running into the same issue as well. |
Did not we ported the patch to the last release 3.x already ? |
For the allowed names yes. How ever missing tarball issue is a new bug. It’s not returning 404 because of package name being invalid but rather actually failing to match/store/provide tarball itself. |
Current issue is for v4.2.0 as stated above. |
Ahhh ! sorry, I did not see it ... thanks :) |
Any updates on this? |
Seeing the same thing (specifically w/ ember-data) |
Seems to be caused by these lines in validateName and validatePackage. |
I do have the same issue with 4.3.4, in my case is with package |
As workaround I scope only internal package to point to Verdaccio in .npmrc and the rest is installed from public NPM registry. |
@raido, done that! Worked like a charm and maybe saved some server bandwidth hehe, i've reported just to bump the issue. |
I'm also seeing this issue specific to ember-data. This is a pretty significant issue for my company, and as a result we will need to find an alternative to Verdaccio if it is not fixed soon.
|
@kkincade Have you tried raido's suggestion => #1429 (comment)? |
@bertdeblock I had to figure out how to do this workaround in Yarn. It does indeed seem to work after clearing out any previous registry settings that I had manually configured. Here is what I used for my .yarnrc file for those interested.
|
Here is an example how to set it up with .npmrc |
Current state in 4.4.0 / master:
|
The mentioned lines seem to be a working solution but then a test fails:
This returns "no such package available" in the UI. |
Shipped on |
🤖This thread has been automatically locked 🔒 since there has not been any recent activity after it was closed. |
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
ornpm 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.
The text was updated successfully, but these errors were encountered: