Enabling bun on shared monorepo (turborepo) when using npm as package manager?
Hi all! I use NPM as my package manager for my shared monorepo (turborepo), and because of that I don't think Nix detects/enables bun?
I get an error saying it can't be found when trying to startup my backend websocket server.
![No description](https://cdn.answeroverflow.com/1173859038182780938/image.png)
Solution:Jump to solution
add a service variable
NIXPACKS_CONFIG_FILE
set to /apps/ws_server/nixpacks.toml
cancel the auto deploy
add a nixpacks.toml file to the ws_server folder with this in it
```toml
[phases.setup]...29 Replies
Project ID:
f0b123dd-49d4-4bfc-b063-9a5238f876ef
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
would it be possible for you to share your repo?
What's your github? I can add you as a reader if that helps
it sure does, brody192
what app do you want to run with bun?
my websocket server
apps/ws_server
are you deploying all 3 of these apps to railway?
no, only the websocket server, the web app is a nextjs application deployed on vercel, and experiments is just various scripts for me to try different things in a dev environment using the codebase (not to be deployed)
I have the build and start commands filter accordingly
turbo run build --filter=ws_server and turbo run start --filter=ws_server should only build the deps for ws_server from what I understand
and you set those in the service settings?
here right?
![No description](https://cdn.answeroverflow.com/1173866154360586302/image.png)
![No description](https://cdn.answeroverflow.com/1173866154993930300/image.png)
yeah thats good, let me see what i can whip up, few minutes please
(slightly different question but will the round-robin load balancer break ws connections once they've been established and upgraded?)
![No description](https://cdn.answeroverflow.com/1173866544439238766/image.png)
i cant see how they would, upgrades arent new connections are they?