-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Steps to reproduce:
- Start a Node.js Blank project in https://stackblitz.com/
- Delete everything comes from their template
- Run
pnpm create hono@latest my-appas stated in the docs. - Pick nodejs template.
- See the error prompt.
Error message
❯ pnpm create hono@latest my-app
.../share/pnpm/store/v3/tmp/dlx-13 | +1 +
.../share/pnpm/store/v3/tmp/dlx-13 | Progress: resolved 1, reused 0, downloaded 1, added 1, done
create-hono version 0.18.0
✔ Using target directory … my-app
✔ Which template do you want to use? nodejs
HookError: [Inquirer] Hook functions can only be called from within a prompt
at HookError (/home/.local/share/pnpm/store/v3/tmp/dlx-13/node_modules/.pnpm/[email protected]/node_modules/create-hono/bin:12776:17)
at getStore (/home/.local/share/pnpm/store/v3/tmp/dlx-13/node_modules/.pnpm/[email protected]/node_modules/create-hono/bin:12817:11)
at clearAll (/home/.local/share/pnpm/store/v3/tmp/dlx-13/node_modules/.pnpm/[email protected]/node_modules/create-hono/bin:12883:19)
at <anonymous> (/home/.local/share/pnpm/store/v3/tmp/dlx-13/node_modules/.pnpm/[email protected]/node_modules/create-hono/bin:13835:25)
at (https://example.w-corp-staticblitz.com/blitz.4d9fd228.js:31:28762)
Node.js v20.19.1Additional information
npm create hono@latest my-appandyarn create hono my-appdoesn't work as well.- Other templates (aws-lambda, bun, cloudflare-workers, cloudflare-workers+vites, deno, fastly, lambda-edge, nextjs, vercel, cloudflare-pages, x-basic) have the same error.
Metadata
Metadata
Assignees
Labels
No labels