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
When run in GitHub Actions, Verdaccio presents a 404 error for a transitive dependency (in this case, @types/yargs-parser) that should be passed through from an npm uplink proxy.
One notable fact is that I believe this is a library that has multiple versions in the dependency graph, so this may be an example of the same bug as #3530.
See .github/workflows/ci.yml to see what this example does in GitHub Actions. In brief:
The proxy is run with the proxy/proxy.sh script using the proxy/config.yml config file.
Then a dummy user is authenticated in order to publish packages to Verdaccio.
Next the super-duper-library package is published to the Verdaccio proxy.
Finally, the test/smoke-test package is built, using the Verdaccio proxy.
Expected behavior
The above steps should succeed because the Verdaccio proxy should be serving the one super-duper-library package and all other dependencies should be passed through successfully from the npm uplink.
I noticed that this particular error message in the above screenshot looks a bit suspicious:
npm ERR! 404 '@types/yargs-parser@http://127.0.0.1:4873/@types/yargs-parser/-/yargs-parser-21.0.1.tgz' is not in this registry.
The @types/yargs-parser@http://etc part seems fishy, doesn't it? Could this maybe suggest there's a bug in uplinks having something to do with the @ or / characters?
I also have this situation. After setting uplinks, when downloading non-existent packages from verdaccio, the download and cache from uplinks will not be cached in verdaccio.
Your Environment
Describe the bug
When run in GitHub Actions, Verdaccio presents a 404 error for a transitive dependency (in this case,
@types/yargs-parser
) that should be passed through from an npm uplink proxy.One notable fact is that I believe this is a library that has multiple versions in the dependency graph, so this may be an example of the same bug as #3530.
To Reproduce
Example repository
See
.github/workflows/ci.yml
to see what this example does in GitHub Actions. In brief:proxy/proxy.sh
script using theproxy/config.yml
config file.super-duper-library
package is published to the Verdaccio proxy.test/smoke-test
package is built, using the Verdaccio proxy.Expected behavior
The above steps should succeed because the Verdaccio proxy should be serving the one
super-duper-library
package and all other dependencies should be passed through successfully from the npm uplink.Screenshots, server logs, package manager log
Complete GitHub Actions log
Configuration File
Environment information
Contribute to Verdaccio
The text was updated successfully, but these errors were encountered: