Building turborepo fails
a year ago
Hi! I'm looking to see if Railway is something for our apps.
However, I'm getting stuck on this error, which I haven't been able to solving (after reading around online). I have a monorepo, a bit similar to this project: https://github.com/GRoobArt/Railway-Monorepo-Next-Nest, but I'm using next.js on the frontend and node/hono on the backend. I got the backend working at one point, but suddenly started getting errors similar to the frontend error.
Here's the error I'm now getting on both projects:
12 0.537 x could not resolve workspaces
12 0.537 `-> lockfile not found at /app/yarn.lock
12 0.537
12 0.539 • Packages in scope: @mono/coach-admin
12 0.539 • Running build in 1 packages
12 0.539 • Remote caching disabled
12 0.571 x unable to find package manager binary: cannot find binary path
12 0.571 `-> cannot find binary path
12 0.571
12 ERROR: process "/bin/bash -ol pipefail -c npm run build:frontend" did not complete successfully: exit code: 1
Dockerfile:24
Any help highly appreciated!
Thanks
ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies