Get dist-tags is not working for scopped package via rest API
See original GitHub issueYour Environment verdaccio version: 5.4 node version: v12.22.1 package manager: npm@6.14.12 os: MacOS platform: npm
Describe the bug Can not get tags of scopped package by Rest API
Reproducing steps:
-Define a module with scope, for instance @abc/def
-Add some tag by npm cli
-Try getting it by Rest API -> .../-/package/@abc/def/dist-tags
.
Expected behavior Get a json with the tags
Actual behavior
Get "error": "File not found"
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
How to use semantic versioning,work with scoped packages ...
A distribution tag supplements semantic versioning. You should use them to organize and label different versions of packages.
Read more >Adding dist-tags to packages - npm Docs
Publishing a package with a dist-tag · On the command line, navigate to the root directory of your package. cd /path/to/package · Run...
Read more >npm packages in the Package Registry - GitLab Docs
Scoped packages begin with a @ have the format of @owner/package-name . ... If you get this error, one of the following problems...
Read more >Upload artifact with tag other than "latest" to Artifactory NPM repo
Apparently, you cannot manage NPM tags in Artifactory through the REST API. There is a default handling for the latest tag, ...
Read more >[NEXUS-24457] npm package metadata dist-tags section can ...
Expected · npm dist-tags command should not get 500 response · npm install commands which rely on dist-tags being non-empty to resolve packages...
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
I mean if I try to fetch
http://localhost:4873/-/package/<package>/dist-tags
I can get it ({ "name-squat": "0.0.0", "latest": "1.0.0" }
) but if I try to get scopped package likehttp://localhost:4873/-/package/<scopped>/<package>/dist-tags
I get:{ "error": "File not found" }
Updated by the template