Publishing scoped package does not work due to slash escape, even when not using reverse proxy
See original GitHub issueDescribe the bug After updating Verdaccio to latest version (4.11.0), publishing a scoped package with latest version of Verdaccio does not work due to “/” being escaped This has been reported before (see #1778) occurring when Verdaccio is used behind a reverse proxy, but in my case this happens with the default install and starting Verdaccio from the CLI, per: https://verdaccio.org/docs/en/installation
npm ERR! code E404
npm ERR! 404 Not Found - PUT http://<domain>/@<scope>%2f<package> - no such package available
npm ERR! 404
npm ERR! 404 '@<scope>/<package>@1.2.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Expected behavior Should be able to install scoped package…
Workaround I reverted to an older version (4.0.3) and it works with that.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Publishing scoped package does not work due to slash escape ...
Publishing scoped package does not work due to slash escape, even when not using reverse proxy.
Read more >Scoped NPM for private repository converts slash "/" to "%2F"
Another possible scenario is that the slash encoding isn't really the problem. You simply do not have access to ...
Read more >Automatically handle decoded slash in NPM scoped package ...
Artifactory sends 405 for PUT request when slash is decoded, ... reverse proxy of any kind to behave so that it doesn't decode...
Read more >RFC 3261: SIP: Session Initiation Protocol
Outbound Proxy: A proxy that receives requests from a client, even though it may not be the server resolved by the Request-URI. Typically,...
Read more >sbt Reference Manual — Combined Pages
Installing from a third-party package. Note: Third-party packages may not provide the latest version. Please make sure to report any issues with these...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Found the issue. The storage directory needs to have the proper permissions.
Then ran into an issue with Internal Server Error while trying to sign in. Turns out it was a htpasswd file permissions error.
File read errors should be bubbled up to the logs.
Here is the test repo. Error occurs for me when using it.
https://github.com/FallingSnow/Verdaccio-2096