Skip to content

bun create hono on Windows can't clone templates without Node.js #51

Open
@ryuapp

Description

@ryuapp

Related: honojs/hono#2992

This problem does not occur if you install Node.js.

C:\Users\xxxx\>bun create hono
create-hono version 0.9.0
? Target directory my-app
? Which template do you want to use? x-basic
? Directory not empty. Continue? yes
✔ Cloning the template
22377 |       projectDependenciesHook.applyHook(templateName, {
22378 |         directoryPath: targetDirectoryPath
22379 |       })
22380 |     );
22381 |   } catch (e) {
22382 |     throw new Error(
                  ^
error: Error running hook for x-basic: No such file or directory
      at C:\Users\xxxx\AppData\Local\Temp\bunx-2632733703-create-hono@latest\node_modules\create-hono\bin:22382:11

Bun v1.1.13 (Windows x64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions