Replies: 2 comments
-
The Root Directory settings you've described is correct. I've confirmed that the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am very confused on this as well. @anthonyshew how should one go about deploying an app in a monorepo to Vercel manually from the command line? I haven't seen that demonstrated anywhere. Do I need to use Github integration with Vercel to do this? Every avenue I've tried seems to be a dead-end. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I've been struggling to understand this and hoping someone can shed some light. I've spent a while reading Vercel and Turbo repo documentation but can't find an answer.
Let's take the create-turbo basic example.
My current operating method to deploy the web app would be the following:
Root Directory
toapps/web
I've had success with this in the past. However, I also run into issues whereby Vercel can't find a custom package, such as a UI package. The builds fail, until I manually redeploy from the dashboard, ignore cache, and then it works.
I think I potentially narrowed this down to being a symlink issue with pnpm, mentioned in this issue here.
The part where I'm struggling to understand pertains to the Vercel documentation on Root Directory which states:
To me this seems to directly conflict with the deployment of a single app in a turbo monorepo which relies on packages outside the root directory as shown above.
This now raises two issues for me:
I can't find a good example of how exactly to deploy a turbo repo in such a manner - or am I fundamentally not understanding something here?
So, how should you actually configure such a deployment?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions