Skip to content

pi v0.75.1 fails to start with "SyntaxError: Export named 'install' not found in module 'undici'." #4657

@jlebon

Description

@jlebon

What happened?

Hi,

Running v0.75.1 from the release tarballs seems to be hitting a Bun error:

1 | })
2 | {
    ^
SyntaxError: Export named 'install' not found in module 'undici'.
      at loadAndEvaluateModule (2:1)

Bun v1.3.10 (Linux x64 baseline)

Steps to reproduce

Simple reproducer in a Fedora container (should work with s/podman/docker/):

$ podman run --rm -ti -w /root quay.io/fedora/fedora sh -c 'mkdir .pi && curl -sL "https://github.com/badlogic/pi-mono/releases/download/v0.75.1/pi-linux-x64.tar.gz" | tar xz -C "$HOME/.pi" --strip-components=1 && ~/.pi/pi'
1 | })
2 | {
    ^
SyntaxError: Export named 'install' not found in module 'undici'.
      at loadAndEvaluateModule (2:1)

Bun v1.3.10 (Linux x64 baseline)

Expected behavior

No error

Version

0.75.1

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