Skip to content

"Download as zip" produces broken zip files #447

@AriPerkkio

Description

@AriPerkkio

Describe the bug

"Download as zip" feature seems to have broken in the past ~2 weeks. No changes on TutorialKit have been made, so it's possible that Node 20 upgrade introduced regression.

https://webcontainers.io/api#%E2%96%B8-export

Link to a StackBlitz project which shows the error

https://tutorial-vite-plugin.pages.dev

Steps to reproduce

  1. Click download as zip
  2. Try to unzip it on host machine

Expected behavior

Contents of zip should work.

Screenshots

Image

Platform

  • TutorialKit version: [e.g. 1.0.1]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamIssue related to upstream dependency

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions