Bug: CI pnpm install --frozen-lockfile fails with 404 from JSR registry
Symptom
The build-and-lint CI job fails at the Install dependencies step with a 404 error fetching @jsr/creit-tech__stellar-wallets-kit from https://npm.jsr.io. This blocks every PR from passing CI regardless of whether the change touches anything related to wallet kit.
Root cause hypothesis
Two likely explanations:
- The package was unpublished from JSR (or the version pinned in
pnpm-lock.yaml was removed)
- The CI environment needs JSR registry auth configured (
.npmrc token for @jsr scope)
The package is referenced in package.json as:
"@creit-tech/stellar-wallets-kit": "npm:@jsr/creit-tech__stellar-wallets-kit@^2.0.1"
Investigation steps
Possible fixes
- If the package was unpublished: pin to a published version, switch to a different stellar wallets kit, or vendor it
- If it's an auth issue: add
.npmrc config to the CI workflow that registers the JSR scope, e.g.:
@jsr:registry=https://npm.jsr.io
- If it's transient: retry the install in CI
Files affected
.github/workflows/ci.yml
package.json
pnpm-lock.yaml (likely needs regeneration once the registry issue is resolved)
Acceptance Criteria
Additional notes
This was first surfaced by a contributor on PR #172. Several other PRs (#176, #177, #178, etc.) have been failing CI for the same reason, so unblocking this is a force-multiplier.
Bug: CI
pnpm install --frozen-lockfilefails with 404 from JSR registrySymptom
The
build-and-lintCI job fails at theInstall dependenciesstep with a 404 error fetching@jsr/creit-tech__stellar-wallets-kitfromhttps://npm.jsr.io. This blocks every PR from passing CI regardless of whether the change touches anything related to wallet kit.Root cause hypothesis
Two likely explanations:
pnpm-lock.yamlwas removed).npmrctoken for@jsrscope)The package is referenced in
package.jsonas:Investigation steps
https://jsr.io/@creit-tech/stellar-wallets-kit(does the version still exist?)https://npm.jsr.io/@jsr/creit-tech__stellar-wallets-kit/-/creit-tech__stellar-wallets-kit-2.0.1.tgzis fetchable with no authpnpm install --frozen-lockfileoutput)pnpm installlocally with a clean store to confirm whether it's CI-specificPossible fixes
.npmrcconfig to the CI workflow that registers the JSR scope, e.g.:Files affected
.github/workflows/ci.ymlpackage.jsonpnpm-lock.yaml(likely needs regeneration once the registry issue is resolved)Acceptance Criteria
pnpm install --frozen-lockfilesucceeds in CI from a clean checkoutAdditional notes
This was first surfaced by a contributor on PR #172. Several other PRs (#176, #177, #178, etc.) have been failing CI for the same reason, so unblocking this is a force-multiplier.