Skip to content

Publish script fails on CI on version Release #8205

@markdevocht

Description

@markdevocht

What happened?

npm notice Publishing to https://registry.npmjs.org/ with tag latest and default access
npm error code E403
npm error 403 403 Forbidden - PUT https://registry.npmjs.org/react-native-navigation - You cannot publish over the previously published versions: 8.7.5.
npm error 403 In most cases, you or one of your dependencies are requesting
npm error 403 a package version that is forbidden by your security policy, or
npm error 403 on a server you do not have access to.
npm error A complete log of this run can be found in: /Users/builder/uibuilder/.npm/_logs/2026-02-08T07_45_56_921Z-debug-0.log

Error: Command failed: npm publish --tag latest
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:916:11)
at Object.execSync (node:child_process:988:15)
at Object.execSync (/Users/builder/uibuilder/work/node_modules/shell-utils/src/exec.js:8:6)
at tagAndPublish (/Users/builder/uibuilder/work/scripts/release.js:118:8)
at tryPublishAndTag (/Users/builder/uibuilder/work/scripts/release.js:96:7)
at versionTagAndPublish (/Users/builder/uibuilder/work/scripts/release.js:85:3)
at run (/Users/builder/uibuilder/work/scripts/release.js:40:3)
at Object. (/Users/builder/uibuilder/work/scripts/release.js:152:1) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 7845,
stdout: null,
stderr: null
}

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version:
React Native version:
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions