Is it possible to access files outside the root directory of a project?
11 Replies
Project ID:
N/A
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?
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.
shared monorepo? turbo? nx?
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
now you're having issues not using turbo, full circle 🤣
what are the apps you have in this repo?
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
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 changesThanks
Solution
Using a turborepo was what I ended up with
you now use filter commands I presume?