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.
Float autopublish gets through cargo publish successfully (
rain-math-float0.1.4 is on crates.io) but consistently fails at thePublish to NPMstep:The workflow uses
secrets.NPM_PUBLISH_PRIVATE_TOKENviasecrets: inheritfrom the rainlanguage org. The token authenticates (no 401), but the resulting 404 on PUT indicates it lacks publish rights for the@rainlanguagescope.Possible causes:
@rainlanguagepackage writes.Cargo half is healthy and unblocked; this is purely the npm-side concern.