Skip to content

XLSX.read crashes Bun #3914

Closed
Closed
@emadda

Description

What version of Bun is running?

0.7.1

What platform is your computer?

Darwin arm64 arm

What steps can reproduce the bug?

I am trying to run this function: https://docs.sheetjs.com/docs/api/parse-options

The input is a Uint8Array. It works with Node.js, but with Bun it never returns from the read function with no output to stdout.

Is there a flag I can use to see the Bun error logs, or a debugger to follow the execution?

const workbook = XLSX.read(utf8ar_xlsx, {type: "array"});

Version: "xlsx": "^0.18.5"

What is the expected behavior?

Function returns

What do you see instead?

No return, process does nothing and stalls.

Additional information

file.xlsx:

a b
1 1
2 2

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