Home > Software engineering >  Is it possible to republish an unpublished npm package?
Is it possible to republish an unpublished npm package?

Time:12-30

Summary

I published a package (license-plate-serial-generator 404

  • The package shows up in search: npm search results page for 'license plate'
  • In my npm account packages page, the package count includes license-plate-serial-generator, but it's not shown in the list of packages npm account packages page

  • The npm docs page for 'Unpublishing packages from the registry' says:

    Unpublishing a package permanently removes the package from the registry so it is no longer available for other users to install. Once a package is unpublished, republishing under the same name is blocked for 24 hours.

    It's confusing to me that unpublishing is 'permanent', but it's possible to republish 24 hours after unpublishing

    CodePudding user response:

    This issue was resolved. I contacted npm. They asked me to publish a new version after clearing the cache on their end, and now the package has been fully republished.

    •  Tags:  
    • npm
    • Related