Skip to content
Source
Sign inSign up
TanStack/cli

--list-add-ons not listing any add-ons #93

Send to my agent
ClosedSunshineyDay(GitHub profile, opens in a new tab) opened this issue 6 comments

Which project does this relate to?

Create Tanstack App

Describe the bug

Running pnpx create-tsrouter-app@latest --list-add-ons as per the docs does not return the list of add-ons.

Your Example Website or App

n/a

Steps to Reproduce the Bug or Issue

Run pnpx create-tsrouter-app@latest --list-add-ons or npx create-tsrouter-app@latest --list-add-ons

Expected behavior

Expected to see a list of currently supported add-ons, but the command does not return anything.

Screenshots or Videos

Image

Platform

  • OS: Windows 11

Additional context

Also tried in the terminal window in the create-tsrouter-app sample on StackBlitz and see the same behaviour.

  1. Fixed in v0.14.3 (latest).

  2. jherr closed this

  3. Thanks @jherr - that was quick! 👍

    btw, I started using create-tsrouter-app after hearing you talk about it on Front-End Fire. Love the show, and have worked through a ton of your YouTube content too.

  4. Thanks! I really appreciate that. I'll let Paige and TJ know. 👍

    Also, if you like this, you'll love what's coming in the alpha release. Amazing new features.

  5. Hi Jack, looks like the list add-ons option broke again...

    pnpx create-tanstack@latest --list-add-ons file:///C:/Users/rob/AppData/Local/pnpm-cache/dlx/4j2lkpm2mitnht55ggp7xzcb6i/19784eec5aa-6898/node_modules/.pnpm/@tanstack+cta-engine@0.16.0/node_modules/@tanstack/cta-engine/dist/add-ons.js:3 return framework.getAddOns().filter((a) => a.modes.includes(mode)); ^

    TypeError: Cannot read properties of undefined (reading 'getAddOns') at getAllAddOns (file:///C:/Users/rob/AppData/Local/pnpm-cache/dlx/4j2lkpm2mitnht55ggp7xzcb6i/19784eec5aa-6898/node_modules/.pnpm/@tanstack+cta-engine@0.16.0/node_modules/@tanstack/cta-engine/dist/add-ons.js:3:22) at Command. (file:///C:/Users/rob/AppData/Local/pnpm-cache/dlx/4j2lkpm2mitnht55ggp7xzcb6i/19784eec5aa-6898/node_modules/.pnpm/@tanstack+cta-cli@0.16.0_@babel+runtime@7.27.6_@codemirror+autocomplete@6.18.6_@codemirror+la_y7behc2s5mdzfiv7aiqjxxx36m/node_modules/@tanstack/cta-cli/dist/cli.js:220:34) at Command.listener [as actionHandler] (C:\Users\rob\AppData\Local\pnpm-cache\dlx\4j2lkpm2mitnht55ggp7xzcb6i\19784eec5aa-6898\node_modules.pnpm\commander@13.1.0\node_modules\commander\lib\command.js:552:17) at C:\Users\rob\AppData\Local\pnpm-cache\dlx\4j2lkpm2mitnht55ggp7xzcb6i\19784eec5aa-6898\node_modules.pnpm\commander@13.1.0\node_modules\commander\lib\command.js:1586:14 at Command._chainOrCall (C:\Users\rob\AppData\Local\pnpm-cache\dlx\4j2lkpm2mitnht55ggp7xzcb6i\19784eec5aa-6898\node_modules.pnpm\commander@13.1.0\node_modules\commander\lib\command.js:1470:12) at Command._parseCommand (C:\Users\rob\AppData\Local\pnpm-cache\dlx\4j2lkpm2mitnht55ggp7xzcb6i\19784eec5aa-6898\node_modules.pnpm\commander@13.1.0\node_modules\commander\lib\command.js:1585:27) at Command.parse (C:\Users\rob\AppData\Local\pnpm-cache\dlx\4j2lkpm2mitnht55ggp7xzcb6i\19784eec5aa-6898\node_modules.pnpm\commander@13.1.0\node_modules\commander\lib\command.js:1075:10) at cli (file:///C:/Users/rob/AppData/Local/pnpm-cache/dlx/4j2lkpm2mitnht55ggp7xzcb6i/19784eec5aa-6898/node_modules/.pnpm/@tanstack+cta-cli@0.16.0@babel+runtime@7.27.6_@codemirror+autocomplete@6.18.6_@codemirror+la_y7behc2s5mdzfiv7aiqjxxx36m/node_modules/@tanstack/cta-cli/dist/cli.js:289:13) at file:///C:/Users/rob/AppData/Local/pnpm-cache/dlx/4j2lkpm2mitnht55ggp7xzcb6i/19784eec5aa-6898/node_modules/.pnpm/create-tanstack@0.16.0_@babel+runtime@7.27.6_@codemirror+autocomplete@6.18.6_@codemirror+lang_m6wcirxzpctea7rbr2aoq7mtua/node_modules/create-tanstack/dist/index.js:7:1 at ModuleJob.run (node:internal/modules/esm/module_job:358:25)

    Node.js v24.2.0

  6. That was the output from pnpx create-tanstack@latest --list-add-ons

  7. jherrcommented

    Sorry about that. Fixed in v0.16.2.

Sign in to join this conversation.