a month ago
First of all, is it possible to run a turborepo ecosystem on the railway?
ERROR: failed to build: failed to solve: process "bun install --frozen-lockfile" did not complete successfully: exit code: 1
I've read about lockfile, bun version, I've tried everything and still haven't been able to do it.
https://bun.com/docs/pm/lockfile
2 Replies
a month ago
Yes it's possible. I run a turborepo monorepo with multiple apps here on railway, so I hope I can help. The error you're getting means that your lockfile is out of sync with your package.json. Typically you just delete your lockfile/node_modules and run bun install then commit and push the new lockfile to solve this issue.
darseen
Yes it's possible. I run a turborepo monorepo with multiple apps here on railway, so I hope I can help. The error you're getting means that your lockfile is out of sync with your package.json. Typically you just delete your lockfile/node_modules and run bun install then commit and push the new lockfile to solve this issue.
24 days ago
I've tried that too. I even used a turborepo configuration that globalizes the dependencies for node_modules in the root. I saw a post here about the bun version where the file was .lockb, and now it's just .lock, which is why it always fails.