R
Railway•13mo ago
hyprsonic

Is it possible to access files outside the root directory of a project?

No description
Solution:
Using a turborepo was what I ended up with
Jump to solution
11 Replies
Percy
Percy•13mo ago
Project ID: N/A
Brody
Brody•13mo ago
to help us better answer the questions, can you help us to understand the reasoning behind the question? what is your end goal at a low level?
hyprsonic
hyprsonicOP•13mo ago
I have a repo with different apps in folders, and I set the root folder of the application I hosted on railway to one of them. But now when I try to run the build command, I get this error.
No description
Brody
Brody•13mo ago
shared monorepo? turbo? nx?
hyprsonic
hyprsonicOP•13mo ago
It's not really a monorepo setup per se, but yes, it's one repo with different folders I'm trying to avoid using a monorepo (turborepo to be specific) because I've had an issue using them on railway in the past
Brody
Brody•13mo ago
now you're having issues not using turbo, full circle 🤣 what are the apps you have in this repo?
hyprsonic
hyprsonicOP•13mo ago
client - an electron app content - a payloadcms app, which is basically an express server server - another express server val-event-to-nl - some utils shared between client and server
No description
Brody
Brody•13mo ago
then you likely want to set the root directory to / and have various scripts in your package.json that would build and start individual apps within your repo then youd use watch paths to ignore unwanted changes
hyprsonic
hyprsonicOP•13mo ago
Thanks
Solution
hyprsonic
hyprsonic•13mo ago
Using a turborepo was what I ended up with
Brody
Brody•13mo ago
you now use filter commands I presume?
Want results from more Discord servers?
Add your server