You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set up verdaccio as a local npm repository, and set up yarp as a proxy. When using verdaccio directly, packages with a slash are downloaded, but not with a proxy
To Reproduce
This behavior is reproduced only on packages where there is a slash in the name or in the dependencies of packages there are packages in the name of which there is a slash. Packages without slashes are downloaded without problems.
Run verdaccio using docker docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
Open or create some frontend project (I use react and yarn) and try add package use local repository yarn add --registry http://localhost:4873 @babel/core . The package will be added.
Run proxy and try add package use local repository with proxy yarn add --registry http://localhost:5184 @babel/core . The package will not be added with error
Describe the bug
I set up verdaccio as a local npm repository, and set up yarp as a proxy. When using verdaccio directly, packages with a slash are downloaded, but not with a proxy
To Reproduce
This behavior is reproduced only on packages where there is a slash in the name or in the dependencies of packages there are packages in the name of which there is a slash. Packages without slashes are downloaded without problems.
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
yarn add --registry http://localhost:4873 @babel/core
. The package will be added.code:
appsettings:
yarn add --registry http://localhost:5184 @babel/core
. The package will not be added with errorlog yarp
log verdaccio when use proxy
log verdaccio without proxy
Further technical details
The text was updated successfully, but these errors were encountered: