问题
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