bun
bun copied to clipboard
Does not work with electron-builder
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
Can confirm, same here.
my solution was to use electron-rebuild directly:
"postinstall": "bun x electron-rebuild @serialport/bindings-cpp robotjs usb-detection"
Same here, is a fix planned?