Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Cant unpublish #19397

Open
2 of 13 tasks
codemeasandwich opened this issue Dec 14, 2017 · 2 comments
Open
2 of 13 tasks

Cant unpublish #19397

codemeasandwich opened this issue Dec 14, 2017 · 2 comments

Comments

@codemeasandwich
Copy link

codemeasandwich commented Dec 14, 2017

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • Other (see below for feature requests):

What's going wrong?

How can the CLI team reproduce the problem?

brian@440 ~ $ npm unpublish galactica
npm ERR! Refusing to delete entire project.
npm ERR! Run with --force to do this.
npm ERR! npm unpublish <project>[@<version>]
brian@440 ~ $ npm unpublish galactica@0.0.0
npm ERR! Linux 4.10.0-35-generic
npm ERR! argv "/home/brian/.nvm/versions/node/v4.4.7/bin/node" "/home/brian/.nvm/versions/node/v4.4.7/bin/npm" "unpublish" "galactica@0.0.0"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code E400

npm ERR! You can no longer unpublish this package.
npm ERR! Please deprecate it instead:
npm ERR! npm deprecate galactica "this package has been deprecated" : galactica
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/brian/npm-debug.log
brian@440 ~ $ npm unpublish galactica --force
npm WARN using --force I sure hope you know what you are doing.
npm ERR! Linux 4.10.0-35-generic
npm ERR! argv "/home/brian/.nvm/versions/node/v4.4.7/bin/node" "/home/brian/.nvm/versions/node/v4.4.7/bin/npm" "unpublish" "galactica" "--force"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code E400

npm ERR! You can no longer unpublish this package.
npm ERR! Please deprecate it instead:
npm ERR! npm deprecate galactica "this package has been deprecated" : galactica
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/brian/npm-debug.log

supporting information:

  • npm -v prints: v2.15.8
  • node -v prints: v4.4.7
  • npm config get registry prints:
  • Windows, OS X/macOS, or Linux?: Linux
  • Network issues:
    • Geographic location where npm was run:
    • I use a proxy to connect to the npm registry.
    • I use a proxy to connect to the web.
    • I use a proxy when downloading Git repos.
    • I access the npm registry via a VPN
    • I don't use a proxy, but have limited or unreliable internet access.
  • Container:
    • I develop using Vagrant on Windows.
    • I develop using Vagrant on OS X or Linux.
    • I develop / deploy using Docker.
    • I deploy to a PaaS (Triton, Heroku).

What's the feature?

unpublish

@codemeasandwich
Copy link
Author

I also tried with another package and got the same problem

brian@440 ~/www/temp/npm $ npm unpublish docs-auto --force
npm WARN using --force I sure hope you know what you are doing.
npm ERR! Linux 4.10.0-35-generic
npm ERR! argv "/home/brian/.nvm/versions/node/v4.4.7/bin/node" "/home/brian/.nvm/versions/node/v4.4.7/bin/npm" "unpublish" "docs-auto" "--force"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code E400

npm ERR! You can no longer unpublish this package.
npm ERR! Please deprecate it instead:
npm ERR! npm deprecate docs-auto "this package has been deprecated" : docs-auto
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/brian/www/temp/npm/npm-debug.log

npm ERR! You can no longer unpublish this package.

@kenany
Copy link
Contributor

kenany commented Dec 16, 2017

Please email support@npmjs.com for package unpublishing,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants