bun icon indicating copy to clipboard operation
bun copied to clipboard

Does not work with electron-builder

Open damms005 opened this issue 10 months ago • 3 comments

What version of Bun is running?

1.1.0

What platform is your computer?

Linux 5.15.0-101-generic x86_64 x86_64

What steps can reproduce the bug?

I did a repro in this repo: https://github.com/damms005/sharpie

Just:

git checkout chore/bun

bun install

bun run build

You should get error output like:

  ⨯ cannot execute  cause=exit status 1 errorOut=error: Script not found "rebuild"

What is the expected behavior?

It should build successfully without errors

What do you see instead?

An error output like:

  ⨯ cannot execute  cause=exit status 1 errorOut=error: Script not found "rebuild"

Additional information

Repro repo here in the chore/bun branch: https://github.com/damms005/sharpie

damms005 avatar Apr 03 '24 16:04 damms005

Can confirm, same here.

JustJoostNL avatar May 01 '24 09:05 JustJoostNL

my solution was to use electron-rebuild directly: "postinstall": "bun x electron-rebuild @serialport/bindings-cpp robotjs usb-detection"

cliqer avatar May 08 '24 23:05 cliqer

Same here, is a fix planned?

AlooTheAloo avatar Aug 25 '24 21:08 AlooTheAloo