Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish fails with wierd error when the NPM key fails #635

Closed
josephjclark opened this issue Mar 19, 2024 · 0 comments
Closed

Publish fails with wierd error when the NPM key fails #635

josephjclark opened this issue Mar 19, 2024 · 0 comments
Labels
wontfix This will not be worked on

Comments

@josephjclark
Copy link
Collaborator

I spent half a morning chasing this strange publish error:

npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm ERR! code E404
npm ERR! 404 Not Found - PUT https://registry.npmjs.org/@openfn%2fdeploy - Not found
npm ERR! 404 
npm ERR! 404  '@openfn/[email protected]' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

When trying to publish @openfn/deploy, I get an error saying @openfn/deploy is not found. Of course it's not found, I'm trying to deploy it you berk!!

Turns out that this is a problem with npm auth. It throws the wrong message: what this really tells you is that the API key we use to publish ti NPM has expired.

I'd like to add better messaging for this somewhere but I don't really know how. This issue will hopefully serve as a reminder.

@josephjclark josephjclark added the wontfix This will not be worked on label Mar 19, 2024
@github-project-automation github-project-automation bot moved this to New Issues in v2 Mar 19, 2024
@christad92 christad92 moved this from New Issues to Icebox in v2 Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
Archived in project
Development

No branches or pull requests

1 participant