[GH-ISSUE #7280] [Bug]: generate:icons broken #17270

Closed
opened 2026-04-14 20:10:23 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @JSkinnerUK on GitHub (Mar 24, 2026).
Original GitHub issue: https://github.com/actualbudget/actual/issues/7280

What happened?

I've was looking into the final outstanding file for issue #1483, where I found the command yarn generate:icons failing with the error below.

Tracking it down, it seems to have been broken a while ago by commit 30bc21614. I've tried my best to eliminate an env issue on my end, but I am pretty new to the code base so might just be me.

I will soon raise a PR to fix this.

No matches found: "src/icons/*/*.tsx"
Error when loading "--template": template.ts

SyntaxError: Unexpected token '{'
    at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
    at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:382:18)
    at loadESMFromCJS (node:internal/modules/cjs/loader:1363:24)
    at Module._compile (node:internal/modules/cjs/loader:1503:5)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Option.parseArg (/home/skinner/projects/actual/node_modules/@svgr/cli/dist/index.js:330:22)

How can we reproduce the issue?

  1. Clone repo
  2. Run yarn install
  3. Run yarn generate:icons
  4. Error returned

Where are you hosting Actual?

Locally via Yarn

What browsers are you seeing the problem on?

No response

Operating System

Linux

Originally created by @JSkinnerUK on GitHub (Mar 24, 2026). Original GitHub issue: https://github.com/actualbudget/actual/issues/7280 ### What happened? I've was looking into the final outstanding file for issue #1483, where I found the command `yarn generate:icons` failing with the error below. Tracking it down, it seems to have been broken a while ago by commit 30bc21614. I've tried my best to eliminate an env issue on my end, but I am pretty new to the code base so might just be me. I will soon raise a PR to fix this. ``` No matches found: "src/icons/*/*.tsx" Error when loading "--template": template.ts SyntaxError: Unexpected token '{' at compileSourceTextModule (node:internal/modules/esm/utils:346:16) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:382:18) at loadESMFromCJS (node:internal/modules/cjs/loader:1363:24) at Module._compile (node:internal/modules/cjs/loader:1503:5) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) at Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Option.parseArg (/home/skinner/projects/actual/node_modules/@svgr/cli/dist/index.js:330:22) ``` ### How can we reproduce the issue? 1. Clone repo 2. Run `yarn install` 3. Run `yarn generate:icons` 4. Error returned ### Where are you hosting Actual? Locally via Yarn ### What browsers are you seeing the problem on? _No response_ ### Operating System Linux
GiteaMirror added the bug label 2026-04-14 20:10:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#17270