You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried using this action to publish a basic package for the first time, but it didn't work; the action claims that it didn't find the package in the registry - which is fair, because it doesn't exist yet.
Error: NpmCallError: Call to "npm publish" exited with non-zero exit code 1
npm notice Publishing to https://npm.pkg.github.com/ with tag latest and default access
npm error code E404
npm error 404 Not Found - PUT https://npm.pkg.github.com/nestlink-lib
npm error 404
npm error 404 'nestlink-lib@0.8.0' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-06T12_54_14_260Z-debug-0.log
I've read through a couple of other issues here, but didn't find a solution - apart from "it's fixed in the latest PR" comments here and there. Maybe the bug reappeared since then?
Here's my workflow file:
Hi @Nawias! A 404 during npm publish typically indicates a permission error or that your package.json is malformed or missing important information. In your case, I believe it is because your package's name field is not scoped to your GitHub username:
GitHub Packages only supports scoped npm packages. Scoped packages have names with the format of @NAMESPACE/PACKAGE-NAME. Scoped packages always begin with an @ symbol. You may need to update the name in your package.json to use the scoped name. For example, if you're the user octocat and your package is named test, you would assign the scoped package name as follows: "name": "@octocat/test".
Hi, I tried using this action to publish a basic package for the first time, but it didn't work; the action claims that it didn't find the package in the registry - which is fair, because it doesn't exist yet.
I've read through a couple of other issues here, but didn't find a solution - apart from "it's fixed in the latest PR" comments here and there. Maybe the bug reappeared since then?
Here's my workflow file:
Here's a link to the latest action run: https://github.com/Nawias/nestlink-lib/actions/runs/11703955074/job/32595369991
And to my repository in general: https://github.com/Nawias/nestlink-lib
I would appreciate any help, thank you!
The text was updated successfully, but these errors were encountered: