Upon running the command <npm view e-biz-znnf versions --json> in the terminal, npm throws an error message:
npm ERR! code E404
npm ERR! 404 Unpublished by undefined on 2022-08-08T09:20:35.527Z
npm ERR! 404
npm ERR! 404 'e-biz-znnf' 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.
{
"error": {
"code": "E404",
"summary": "Unpublished by undefined on 2022-08-08T09:20:35.527Z",
"detail": "\n 'e-biz-znnf' is not in the npm registry.\nYou should bug the author to publish it (or use the name yourself!)\n\nNote that you can also install from a\ntarball, folder, http url, or git url."
}
}
This error indicates that a specific version of the package was not published.
Upon checking the list of package versions in Verdaccio, the timestamp for the node of the package's JSON information shows an unpublished entry (1.1.26-alpha.0) despite being previously published.
However, the timestamps for the published and unpublished versions differ.
The package resides on a private Verdaccio server.
Deleting the unpublished node from the package.json file on the Verdaccio server resolves the issue without reporting an error.
Why do these unpublished versions exist? How did this occur?
{
"versions": {
"2.0.0": {
"version": "2.0.0",
"description": "deleted extra fields"
},
"1.1.26-alpha.0": {
"version": "1.1.26-alpha.0",
"types": "./types/index.d.ts",
"scripts": {},
"name": "e-biz-znnf",
"main": "index.js",
"license": "ISC",
"dist": {
"tarball": "http://***/e-biz-znnf/-/e-biz-znnf-1.1.26-alpha.0.tgz",
"shasum": "***",
"integrity": "sha512-***"
},
"description": "tools packages",
"contributors": [],
"author": "",
"_npmVersion": "6.14.17",
"_nodeVersion": "14.20.0",
"_id": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="72175f101b085f081c1c1432435c435c40445f131e021a135c42">[email protected]</a>"
},
"1.1.25": {
"version": "1.1.25",
"description": "deleted extra fields"
}
},
"users": {},
"time": {
"unpublished": {
"versions": [
"1.1.26-alpha.0"
],
"time": "2022-08-08T09:20:35.527Z"
},
"modified": "2023-01-30T03:17:32.951Z",
"created": "2022-08-08T09:18:19.876Z",
"2.0.0": "2023-01-30T03:17:32.951Z",
"1.1.26-alpha.0": "2022-08-08T09:18:20.123Z",
"1.1.25": "2022-07-26T07:25:00.977Z"
},
"readme": "ERROR: No README data found!",
"name": "e-biz-znnf",
"dist-tags": {
"latest": "2.0.0"
},
"_rev": "295-f8da7bf7f8a7099a",
"_id": "e-biz-znnf",
"_attachments": {}
}