我在npm上发布了一个软件包,但是当我要搜索时它没有显示在搜索列表中 [英] I published one package on npm, but it's not showing in the search list when i am going to search
问题描述
我公开发布了一个软件包,我想在npm上搜索它 ( https://www.npmjs.com/),但是没有可用于该名称的软件包npm.
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.
尝试过:
npm install package-name->运行正常
npm install package-name -> working fine
以下是软件包链接:
https://www.npmjs.com/package/and-or-search
我有什么想念的吗?
推荐答案
由于CDN,网站缓存等方面的延迟,npm网站需要花费一些时间来显示最新的软件包或软件包版本.
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.
您的软件包现在可以正确显示在npm网站上,网址为 https://www.npmjs .com/package/and-or-search
Your package now shows up correctly in npm website at https://www.npmjs.com/package/and-or-search
这篇关于我在npm上发布了一个软件包,但是当我要搜索时它没有显示在搜索列表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!