-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
What / Why
npm unpublish
does not work, and does not show any error even though the registry answers with a code 404.
When
npm unpublish @siliceum/[email protected] --loglevel verbose
Where
npm public registry
How
Current Behavior
The command line only prints
- @siliceum/[email protected]
while the server answers with an error 404.
Also, the endpoint https://registry.npmjs.org/@siliceum%2fcalcite-cli
returns information but the version with ?write=true
(https://registry.npmjs.org/@siliceum%2fcalcite-cli?write=true
) returns an error 404 not found.
Steps to Reproduce
npm unpublish @siliceum/[email protected]
Expected Behavior
The package is either unpublished or an error is printed. (ultimately, something else than a 404).
With the verbose loglevel it is possible to have the following output
npm unpublish @siliceum/[email protected] --loglevel verbose
npm info it worked if it ends with ok
npm verb cli [
npm verb cli 'C:\Program Files\nodejs\node.exe',
npm verb cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
npm verb cli 'unpublish',
npm verb cli '@siliceum/[email protected]',
npm verb cli '--loglevel',
npm verb cli 'verbose'
npm verb cli ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session e43c8f8257e968e5
npm http fetch GET 404 https://registry.npmjs.org/@siliceum%2fcalcite-cli?write=true 492ms
- @siliceum/[email protected]
npm verb exit [ 0, true ]
npm timing npm Completed in 1157ms
npm info ok