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

Unpublished module keeps appearing in search results (1 week after) #4848

Closed
dpecos opened this issue Mar 7, 2014 · 10 comments
Closed

Unpublished module keeps appearing in search results (1 week after) #4848

dpecos opened this issue Mar 7, 2014 · 10 comments

Comments

@dpecos
Copy link

dpecos commented Mar 7, 2014

Hi

I unpublished a module I created, but it kept appearing in search results. Now, one week after, it still appears in search results and I can't force to unpublish it again:

npm search node-sermepa
npm http GET https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1394205272157
npm http 200 https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1394205272157
NAME         DESCRIPTION AUTHOR DATE       VERSION KEYWORDS
node-sermepa                    2014-02-24    
npm unpublish node-sermepa --force                                                                           
npm WARN using --force I sure hope you know what you are doing.
npm http GET https://registry.npmjs.org/node-sermepa?write=true
npm http 404 https://registry.npmjs.org/node-sermepa?write=true
npm http DELETE https://registry.npmjs.org/node-sermepa/-rev/7-69eee8459ff797e9948ff812ce15c876
npm http 403 https://registry.npmjs.org/node-sermepa/-rev/7-69eee8459ff797e9948ff812ce15c876
npm ERR! Error: forbidden already unpublished: node-sermepa/-rev/7-69eee8459ff797e9948ff812ce15c876
npm ERR!     at RegClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:237:14)
npm ERR!     at Request.self.callback (/usr/lib/node_modules/npm/node_modules/request/request.js:123:22)
npm ERR!     at Request.EventEmitter.emit (events.js:98:17)
npm ERR!     at Request.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:893:14)
npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
npm ERR!     at IncomingMessage.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:844:12)
npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:920:16
npm ERR!     at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.11.0-18-generic
npm ERR! command "node" "/usr/bin/npm" "unpublish" "node-sermepa" "--force"
npm ERR! cwd /devel/projects/redsys
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /devel/projects/redsys/npm-debug.log
npm ERR! not ok code 0

Thank you!

@oskolsky
Copy link

+1

1 similar comment
@slsay
Copy link

slsay commented Aug 19, 2014

+1

@faiq
Copy link
Contributor

faiq commented Aug 19, 2014

Just to double check, when you say you find it in the search results you're saying the search results in the website right?

@JohnMcLear
Copy link

+1

@Gared
Copy link

Gared commented Jan 18, 2015

You also get unpublished plugins with this command:
npm.commands.search
This is really a big problem!

@smikes
Copy link
Contributor

smikes commented Jan 29, 2015

This is an interesting bug. The node-sermepa module is still present in the /-/all data, but is not found by an npm view:

$ npm-kludge-search node-sermepa
NAME         DESCRIPTION AUTHOR DATE       VERSION KEYWORDS
node-sermepa                    2014-03-13                 
Found packages: 1
$ npm view node-sermepa
npm http request GET https://registry.npmjs.org/node-sermepa
npm http 404 https://registry.npmjs.org/node-sermepa

I was able to publish to the name node-sermepa and subsequently unpublish as well. So now that package is listed as unpublished by me.

I think this ties in with another feature request, that certain modules should be excluded by default from npm search results, and only included if a flag such as --all or --no-hide is given. Modules with no installable tarballs should qualify.

Ref #6016, the general search improvement case. Also relevant to npm-registry-couchapp which is where the listAll view is implemented.

@smikes
Copy link
Contributor

smikes commented Jan 29, 2015

The search case I was thinking of with the "hide by default" flag was #6107

@unframework
Copy link

+1

@julkue
Copy link

julkue commented Mar 23, 2016

👍 I hate npm :bowtie:

@npm-robot
Copy link

We're closing this issue as it has gone thirty days without activity. In our experience if an issue has gone thirty days without any activity then it's unlikely to be addressed. In the case of bug reports, often the underlying issue will be addressed but finding related issues is quite difficult and often incomplete.

If this was a bug report and it is still relevant then we encourage you to open it again as a new issue. If this was a feature request then you should feel free to open it again, or even better open a PR.

For more information about our new issue aging policies and why we've instituted them please see our blog post.

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