Skip to content

Extracting not working on Bun on Windows #179

@Vexcited

Description

@Vexcited

Environment

  • giget: ^1.2.3"
  • Bun: 1.1.20

Reproduction

import { downloadTemplate } from "giget";

const { dir } = await downloadTemplate("github:steinjs/stein/examples/bare", {
    force: true,
    dir: "my-project"
});

Describe the bug

An issue with tar on Bun on Windows makes the directory my-project fully empty.
Only the directories are created but not the files.

Additional context

oven-sh/bun#12696

Logs

Nothing is printed in the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions