Skip to content

Repo: Sponsors updating task fails locally #7825

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

Splitting out from #7824: trying to run repo-tools:generate-sponsors locally (after installing nx and tsx globally) throws an error:

josh ~/repos/typescript-eslint/packages/repo-tools $ yarn generate-sponsors
Error: ENOENT: no such file or directory, open '/Users/josh/repos/typescript-eslint/packages/repo-tools/packages/website/data/sponsors.json'
    at Object.openSync (node:fs:590:3)
    at Object.writeFileSync (node:fs:2248:35)
    at main (/Users/josh/repos/typescript-eslint/packages/repo-tools/src/generate-sponsors.ts:173:6) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/josh/repos/typescript-eslint/packages/repo-tools/packages/website/data/sponsors.json'
}

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingrepo maintenancethings to do with maintenance of the repo, and not with code/docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions