|
Hello npm community, I recently published a new package to npm, but I noticed that it is not appearing in npm search results. Package: The package is available directly, and installation works correctly: npm install seo-engineI can also retrieve package information successfully: npm view seo-engineHowever, searching for the package does not return any results: https://www.npmjs.com/search?q=seo-engine The package was published successfully, so I am wondering if this is expected behavior for newly published packages or if there is any additional configuration required for npm search indexing. Has anyone experienced a similar issue? Is there usually a delay before a new package becomes searchable? Thanks in advance for any guidance. |
Replies: 4 comments 2 replies
This comment was marked as low quality.
This comment was marked as low quality.
|
Hi @[Username], Yes, this is completely expected behavior! When you publish a new package, it is immediately uploaded to the main npm registry (which is why Here is why it happens and what to expect:
Give it a little time, and it should show up soon! |
|
Yes, this can happen for a newly published npm package.
I would not keep unpublishing/re-publishing or changing versions just to force it. I would check these instead:
If it is still missing after 24-48 hours while |
|
Thanks everyone for the helpful replies. For anyone who finds this discussion in the future, here's the outcome:
I also contacted npm Support and received the following response:
So, if your package:
it is likely waiting for the npm search index to update. In my case, no additional action was required. Thanks again to everyone who took the time to help! |
Yes, this can happen for a newly published npm package.
npm install seo-engineandnpm view seo-enginehitting the package successfully means the package exists in the npm registry. The website search page is backed by a separate search index, so it can lag behind the registry after a new publish.I would not keep unpublishing/re-publishing or changing versions just to force it. I would check these instead:
package.jsonhas a cleardescriptionandkeywordsnpm search seo-engineas well as the website searchIf it is still missing after 24-48 hours while
npm view seo-enginecontinues to work, then it is p…