Failed to build an image
csvlad
HOBBYOP

a month ago

bun install --frozen-lockfile
1s
bun install v1.3.1 (89fa0f34)
+ @types/bun@1.3.1
+ eslint@9.39.1
+ jiti@2.6.1
+ prettier@3.6.2
+ turbo@2.6.0
+ typescript@5.9.3
+ typescript-eslint@8.46.3
1011 packages installed [382.00ms]
Failed to install 1 package
Build Failed: bc.Build: failed to solve: process "bun install --frozen-lockfile" did not complete successfully: exit code: 1

Any idea why this is happening? I didn't update bun versions or anything… pls let me roll out an update this Friday night..

Solved$10 Bounty

8 Replies

csvlad
HOBBYOP

a month ago

Just saw another issue where it was suggested to turn off the Metal Build Environment. I just tried that but it didn't help. The error has changed slightly though


csvlad
HOBBYOP

a month ago

1436628794025840600


csvlad
HOBBYOP

a month ago

All install/build/test scripts in my CI pass so I assume this is an issue with Railpack?


csvlad
HOBBYOP

a month ago

btw I just updated to bun 1.3.2 to see what happens and it throws too…

1436637026588950500


medim
MODERATOR

a month ago

Try downgrading the Bun version


medim
MODERATOR

a month ago

set a RAILPACK_BUN_VERSION env var to 1.3.1 or 1.3.0


csvlad
HOBBYOP

a month ago

So the issue was with installing one of the dependencies we use for tests. I fixed that by changing the install command via an environment variable, so that it only includes runtime dependenices:
RAILPACK_INSTALL_CMD="bun ci --production"


medim
MODERATOR

a month ago

Thanks for coming back to explain how you fixed it! I will mark this as solved <:salute:1137099685417451530>


Status changed to Solved medim about 1 month ago


Loading...