deno not found in monorepo setup
vincent-liuwingsang
PROOP

a month ago

hi, I'm using deno in turborepo setup where other apps are using yarn.

I try to run deno as part of the prebuild to generate db client but it says sh: 1: deno: not found. I've tried specifying the RAILPACK_DENO_VERSION to 2.

Solved

1 Replies

Railway
BOT

a month ago

In a yarn/turborepo monorepo, Railpack likely detects the project as Node (via package.json) and does not automatically install Deno. The RAILPACK_DENO_VERSION variable only takes effect when Railpack detects Deno as the primary language. To add Deno alongside Node, set the RAILPACK_PACKAGES environment variable to deno (e.g., RAILPACK_PACKAGES=deno@2), which installs it via Mise as an additional tool during the build. See the Railpack environment variables docs for more details.


Status changed to Awaiting User Response Railway about 2 months ago


Railway
BOT

a month ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...