Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I published one package on npm, but it's not showing in the search list when i am going to search

I published one package as a public & i am trying to search it on npm (https://www.npmjs.com/), but there is no package available with that name on npm.

Tried with:

npm install package-name -> working fine

Here is the package link:

https://www.npmjs.com/package/and-or-search

Is there any thing i am missing?

like image 897
Krishna Ghatul Avatar asked Jan 06 '19 06:01

Krishna Ghatul


2 Answers

The npm website takes time to show the latest packages or package versions because of the delays in CDN, website cache etc.

But it will show up eventually. Meanwhile, you can check for the package with:

npm show <package-name>

This will output all the versions of the package as well so you can be confident that the package exists or the latest version is published.

Your package now shows up correctly in npm website at https://www.npmjs.com/package/and-or-search

like image 87
Faizuddin Mohammed Avatar answered Nov 03 '22 01:11

Faizuddin Mohammed


It takes some time for website to show the latest version, but it also takes some time for npm show <package-name> From my experience I haven't noticed difference between the command and between the website. You should also receive email.

I recommend waiting a few minutes.

like image 37
Black Avatar answered Nov 03 '22 00:11

Black