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
After merging the previous PR #355 I attempted to publish new versions of all affected packages. The npm publish step worked for the first two (build and compile packages) but failed on the third (runtime):
npm notice 📦 @sdeverywhere/[email protected]
npm notice === Tarball Contents ===
npm notice 20.9kB ./dist/index.cjs
npm notice 1.1kB LICENSE
npm notice 5.6kB README.md
npm notice 20.9kB dist/index.cjs
npm notice 45.7kB dist/index.cjs.map
npm notice 16.1kB dist/index.d.cts
npm notice 16.1kB dist/index.d.ts
npm notice 19.3kB dist/index.js
npm notice 45.4kB dist/index.js.map
npm notice 1.2kB package.json
npm notice === Tarball Details ===
npm notice name: @sdeverywhere/runtime
npm notice version: 0.2.1
npm notice filename: @sdeverywhere/runtime-0.2.1.tgz
npm notice package size: 42.3 kB
npm notice unpacked size: 192.4 kB
npm notice shasum: b98ed509b8b99e44955f97408747ab2d9c57610d
npm notice integrity: sha512-xp/aCCcXY9Txa[...]txsoAszISs9vg==
npm notice total files: 10
npm notice
npm notice Publishing to https://registry.npmjs.org/
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/@sdeverywhere%2fruntime - You cannot publish over the previously published versions: 0.2.1.
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.
The only way to deal with this is to do a version bump and publish for each of the affected packages.
It's possible this was caused in part by the fact that we were using pnpm run to do the publish step, which may potentially run some commands in parallel. I've since changed that to use --workspace-concurrency=1 to ensure that we publish in serial fashion, but not sure yet if that was the root cause.
The text was updated successfully, but these errors were encountered:
After merging the previous PR #355 I attempted to publish new versions of all affected packages. The
npm publish
step worked for the first two (build and compile packages) but failed on the third (runtime):This despite the fact that I didn't actually publish that version already. Others have run into similar issues:
npm/cli#5058
govuk-react/govuk-react#1146
https://twitter.com/jon_neal/status/1141717238577356800
The only way to deal with this is to do a version bump and publish for each of the affected packages.
It's possible this was caused in part by the fact that we were using
pnpm run
to do the publish step, which may potentially run some commands in parallel. I've since changed that to use--workspace-concurrency=1
to ensure that we publish in serial fashion, but not sure yet if that was the root cause.The text was updated successfully, but these errors were encountered: