Skip to content

Compatibility with Bun #15

@MRDGH2821

Description

@MRDGH2821

I tried installing this with Bun, it seems some dependencies were installed unsuccessfully.
Although I should be putting this issue in respective dependency, but it would be nice if bun equivalents were used when detected.

./node_modules/better-sqlite3 @11.10.0
 » [install]: prebuild-install || node-gyp rebuild --release

./node_modules/sharp @0.32.6
 » [install]: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

./node_modules/protobufjs @6.11.5
 » [postinstall]: node scripts/postinstall

These dependencies had their lifecycle scripts blocked during install.

$ bun pm trust --all -g
bun pm trust v1.3.11 (a04817ce)
  ⚙️  protobufjs [1/3] sharp: Detected globally-installed libvips v8.18.2
sharp: Building from source via node-gyp

/usr/bin/bash: line 1: node-gyp: command not found

error: install script from "sharp" exited with 127

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions