Skip to content

[BUG]: components/lanyard - PNG & GLB Files Corrupted via jsrepo Installation #130

@Ding808

Description

@Ding808

Describe the issue

The problem:

When installing the Lanyard component using:
npx jsrepo add https://reactbits.dev/default/Components/Lanyard

The downloaded package contains PNG and GLB files that are corrupted and cannot be opened or edited. In contrast, the corresponding files found in the GitHub repository at src/content/Components/Lanyard are intact and function correctly.

Image

What we want to happen:

When running:
npx jsrepo add https://reactbits.dev/default/Components/Lanyard
The installation process should download the Lanyard component along with its associated assets (PNG and GLB files) intact and uncorrupted. These files must be identical to those in the GitHub repository at src/content/Components/Lanyard, ensuring they can be opened, viewed, and edited without any issues.

Reproduction Link

https://www.reactbits.dev/components/lanyard

Steps to reproduce

  1. Run the command: npx jsrepo add https://reactbits.dev/default/Components/Lanyard
  2. Navigate to the downloaded package and try to open or edit the PNG and GLB files.
  3. Compare these files with those located in the GitHub repository at src/content/Components/Lanyard.

Validations

  • I have checked other issues to see if my issue was already reported or addressed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions