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

放肆的年华 提交于 2020-06-28 05:08:36

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/54059264/i-published-one-package-on-npm-but-its-not-showing-in-the-search-list-when-i-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!