Skip to content

Crash on msys2 environment #5333

@thewh1teagle

Description

@thewh1teagle

Rollup Version

v4.9.4

Operating System (or Browser)

Windows

Node Version (if applicable)

v18.17.1

Link To Reproduction

https://www.msys2.org/

Expected Behaviour

It should run normally

Actual Behaviour

When I run the command rollup in msys2 environment in ucrt64 terminal
I get the following error

$ npx rollup
thread '<unnamed>' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\napi-sys-2.3.0\src\functions.rs:7:3:
Must load N-API bindings
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

And as a result, every library which depends on rollup receive it too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions