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
After I turn on "extreme verdaccio debug mode" and run "npm i "again ,it seems to be the second log occurs error already .
please help me debug and solve this ,thanks very much.
It's a problem with the core, verdaccio uses /-/ for some paths, due the nature of the express middleware and some legacy code causes this issue, seems easy to solve, you can follow progress on #3919 for the fix.
Your Environment
Describe the bug
Officical package url :
https://www.npmjs.com/package/-
While I'am using verdaccio v5.21.1 serving npm repo,It seems that clients cannot install "-" by "npm i -" command.
Client logs looks like this (while clients running "npm i -" command):
While server logs below:
The normal server logs looks like this (while clients running "npm i a" for example ):
To Reproduce
npm i - --registry=http://11.159.212.250:4873/ --verbose --loglevel silly
Expected behavior
Screenshots, server logs, package manager log
Configuration File (cat ~/.config/verdaccio/config.yaml)
Environment information
Debugging output
$ NODE_DEBUG=request verdaccio
display request calls (verdaccio <--> uplinks)$ DEBUG=verdaccio* verdaccio
enable extreme verdaccio debug mode (verdaccio api)$ npm -ddd
prints:$ npm config get registry
prints:Contribute to Verdaccio
The text was updated successfully, but these errors were encountered: