a year ago
Build fails as additional dependencies aren't being picked up.
- Railpack shows an example of adding mise dependences
RAILPACK_PACKAGES="node bun@latest python@3.10"https://railpack.com/guides/installing-packages - Protobuf compiler is a mise tool https://mise.jdx.dev/registry.html?filter=protoc#tools
- Setting
RAILPACK_PACKAGES="protoc"the build fails and it does not seem to be recognized ```[Region: us-east4] ╭────────────────╮ │ Railpack 0.9.0 │ ╰────────────────╯ ↳ Detected Node ↳ Using bun package manager Packages ────────── node │ 22.20.0 │ package.json > engines > node (22) bun │ 1.2.19 │ package.json > packageManager (1.2.19) Steps ────────── ▸ install $ bun install --frozen-lockfile ▸ build $ bun generate:proto && bun run build Deploy ────────── $ bun start Successfully prepared Railpack plan for build context: 9ll9-Qazc load build definition from railpack-plan.json 0ms install mise packages: bun, node 2s mise node@22.20.0 ✓ installed```
Pinned Solution
a year ago
Seems like the issue here is already solved. Regarding the railway.toml file, that's only for Railway's specific features. For Railpack, you'll need to use railpack.json instead.
5 Replies
a year ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Ruby Vips error with new Railpack build
- 🧵 Issue with Deploying Discord Bot on Railway – ModuleNotFoundError: No module named 'discord'
- 🧵 Explicitly adding packages as dependencies.
- 🧵 SuppTracker deployment failing with httpx dependency conflict and ImportError
If you find the answer from one of these, please let us know by solving the thread!
a year ago
So, the main issue is this build log install mise packages: bun, node which is missing RAILPACK_PACKAGES="protoc"
a year ago
This actually works when i create this RAILPACK_PACKAGES env var in the UI, but does NOT work when its set in railway.toml
a year ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 12 months ago
a year ago
Seems like the issue here is already solved. Regarding the railway.toml file, that's only for Railway's specific features. For Railpack, you'll need to use railpack.json instead.
passos
Seems like the issue here is already solved. Regarding the `railway.toml` file, that's only for Railway's specific features. For Railpack, you'll need to use `railpack.json` instead.
a year ago
Yes, thank you for the help though!
Status changed to Solved brody • 12 months ago