Skip to content

ci: @rainlanguage/float npm publish fails with 404 Not Found #224

Description

@thedavidmeister

Float autopublish gets through cargo publish successfully (rain-math-float 0.1.4 is on crates.io) but consistently fails at the Publish to NPM step:

npm error code E404
npm error 404 Not Found - PUT https://registry.npmjs.org/@rainlanguage%2ffloat
npm error 404 '@rainlanguage/float@...' is not in this registry.

The workflow uses secrets.NPM_PUBLISH_PRIVATE_TOKEN via secrets: inherit from the rainlanguage org. The token authenticates (no 401), but the resulting 404 on PUT indicates it lacks publish rights for the @rainlanguage scope.

Possible causes:

  • Token scope doesn't include @rainlanguage package writes.
  • The package has never been published before and creating a new scoped package requires a token with elevated org permissions or an explicit pre-creation step.
  • There are two npm tokens in the org secrets; the wrong one is wired up.

Cargo half is healthy and unblocked; this is purely the npm-side concern.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions