R
Railway•8mo 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•8mo ago
Project ID: N/A
Brody
Brody•8mo 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
hyprsonic•8mo 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•8mo ago
shared monorepo? turbo? nx?
hyprsonic
hyprsonic•8mo 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•8mo ago
now you're having issues not using turbo, full circle 🤣 what are the apps you have in this repo?
hyprsonic
hyprsonic•8mo 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•8mo 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
hyprsonic•8mo ago
Thanks
Solution
hyprsonic
hyprsonic•8mo ago
Using a turborepo was what I ended up with
Brody
Brody•7mo ago
you now use filter commands I presume?