npm publish
registry URL deprecated: "This endpoint is deprecated. Use https://replicate.npmjs.com instead."
#1141
Labels
bug
Something isn't working
Description:
https://registry.npmjs.org
is deprecated (no longer works) for publishing packages, resulting in the following error:Making a request to the current registry URL gives the following error via an
npm-notice
header: "This endpoint is deprecated. Use https://replicate.npmjs.com instead." This notice is not present in requests for eghttps://registry.npmjs.org/yocto-queue
.However, updating the registry URL makes installing packages 404:
Action version:
uses: actions/setup-node@v4
Platform:
Runner type:
Tools version:
Node v20.9.0, npm 10.1.0
Repro steps:
Trigger a GitHub Actions workflow with a
npm publish --provenance --access public
stepExpected behavior:
Packages should install and publish, as they were previously. I've been using this workflow without issue for about a year, and it just stopped working with the errors yesterday afternoon.
Actual behavior:
Either there is a Bad Gateway error in publishing with the deprecated registry URL, or there is a Bad Request error installing packages with the updated registry URL. I suspect this may require temporarily supporting a registry for installing and another for publishing.
The text was updated successfully, but these errors were encountered: