Skip to content

bun create hono@latest got error: Error running hook for x-basic: No such file or directory #2992

@axww

Description

@axww

What version of Hono are you using?

create-hono version 0.9.0

What runtime/platform is your app running on?

Windows 11, Bun 1.1.13

What steps can reproduce the bug?

こんにちは、私はWindows環境でBunの最新バージョン1.1.13を使用しており、bun create hono@latest コマンドを実行するとエラーが発生します。cloudflare-pagesの作成が失敗するだけでなく、x-basicの作成も同様に失敗します。

D:\>bun create hono@latest test
create-hono version 0.9.0
✔ Using target directory … test
? Which template do you want to use? cloudflare-pages
√ Cloning the template
22377 |       projectDependenciesHook.applyHook(templateName, {
22378 |         directoryPath: targetDirectoryPath
22379 |       })
22380 |     );
22381 |   } catch (e) {
22382 |     throw new Error(
                  ^
error: Error running hook for cloudflare-pages: No such file or directory
      at C:\Users\C\AppData\Local\Temp\bunx-3838493032-create-hono@latest\node_modules\create-hono\bin:22382:11

Bun v1.1.13 (Windows x64)

C:\Users\C\AppData\Local\Temp\bunx-3838493032-create-hono@latest\node_modules\create-hono
エラーディレクトリを確認しましたところ、以下のファイルが存在するのみでした:

bin
package.json
README.md

どうかご確認いただけますでしょうか。
よろしくお願いいたします。

What is the expected behavior?

Successfully create template

What do you see instead?

エラーがある

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions