No search results on npmjs.com

(bisubus) #1

Search function recently stopped working on npmjs.com

What I Wanted to Do

Search results are supposed to be available when navigating to search results page, https://www.npmjs.com/search?q=npm

What Happened Instead

Search results page shows 0 packages found, despite that search results are available in search fieldโ€™s autocomplete. Search results are also available on npms.io, which npmjs.com seems to use.

Reproduction Steps

Use search field to search for a package, like https://www.npmjs.com/search?q=npm

Searching for a package name starting with 'raf' does not find any package
search on www.npmjs.com doesn't work well
npm search fail
Scoped packages not showing up in website search results
(D) #2

Many queries work, but Iโ€™m getting the same absence of results for โ€˜graphql-tagโ€˜: https://www.npmjs.com/search?q=graphql-tag
Autocomplete popup yes, search page no.

(Jeremy Forsythe) #3

Same thing here.

https://www.npmjs.com/search?q=xml

Autocomplete has results but that page has zero

(Elena Hristova) #4

There are no results returned for http://registry.npmjs.org/-/v1/search?text=kinvey-nativescript-sdk but the package is present (not deprecated) at https://www.npmjs.com/package/kinvey-nativescript-sdk

(Daniel Perez Alvarez) #5

https://www.npmjs.com/search?q=ts-node -> https://www.npmjs.com/package/ts-node

(valoric) #6

Same thing for accessing https://www.npmjs.com/search?q=bic
But bic exists: https://www.npmjs.com/package/bic

(genderquery) #7

Also seeing this with the query โ€œbase64โ€: https://www.npmjs.com/search?q=base64

The command line search, npm search base64, also shows returns No matches found for "base64".

The results for the query do show, however, in the autocompletion dropdown.

The queries โ€œzlibโ€ and โ€œgzipโ€, for example, do not have this issue.

(Elena Hristova) #8

There is an open issue on https://status.npmjs.org/. You could subscribe for updated from here.

(Elena Hristova) #9

Latest updates states:

Update - We are continuing to work on a fix for this issue. Three character package names are currently not being returned in search results.

However, all of the longer-than-three-character-names examples in this thread are still not returned in the search results.

(wuya) #10

It seems the problem is not just about the length of characters, but that any search that contains digits will not return any result, for both the npm search CLI and the website. For example, โ€œnpm search utf8โ€, โ€œnpm search base64โ€, โ€œnpm search web3โ€, โ€œnpm search node-fetch-http2โ€, โ€œnpm search through2โ€ all returns โ€œNo matches foundโ€, while โ€œnpm search node-fetch-httpโ€ and โ€œnpm search throughโ€ work perfectly.

(Jan Willem Verzijden) #11

this made me giggle abit

~$ npm search npm
No matches found for "npm"
   โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
   โ”‚                                                               โ”‚
   โ”‚       New minor version of npm available! 6.7.0 โ†’ 6.9.0       โ”‚
   โ”‚   Changelog: https://github.com/npm/cli/releases/tag/v6.9.0   โ”‚
   โ”‚               Run npm install -g npm to update!               โ”‚
   โ”‚                                                               โ”‚
   โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ