Next and Turborepo have conflicting paradigms for monorepos #2845
Replies: 5 comments 18 replies
-
Glad that you've noticed the work we've been doing here. Can you elaborate on why you feel this way? |
Beta Was this translation helpful? Give feedback.
-
Is there a reason you've overridden the "Install Command" to be skipped? Seems like your |
Beta Was this translation helpful? Give feedback.
-
I found the problem:
It fails because it can't find the application in this path. If i manually modify the This then gets back to the first point which is that it doesn't actually allow you to run build commands from the app directory. It seems to only work if you run from the repo root. |
Beta Was this translation helpful? Give feedback.
-
This issue is resolved for me after talking with @TooTallNate Fix for me was the following:
|
Beta Was this translation helpful? Give feedback.
-
Hey @TooTallNate - this has been working beautifully since I found this post in June but v31 of the vercel CLI seems to have introduced a bug or breaking change which I am not sure what the expectation is. It doesn't seem to be respecting the My github actions line: run: npm install --global vercel@latest && vercel link --repo --yes --token $VERCEL_TOKEN and the output is: Vercel CLI 31.0.3
WARN! The `--repo` flag is in alpha, please report issues
Loading scopes…
Fetching Projects for https://github.com/... under davetayls…
> Found 3 Projects linked to https://github.com/... under davetayls
? Which Projects should be linked to? (Press <space> to select, <a> to toggle al
l, <i> to invert selection)
› ▪︎ davetayls/a
▪︎ davetayls/b
▪︎ davetayls/c
Error: Process completed with exit code 130. |
Beta Was this translation helpful? Give feedback.
-
Page to Investigate
vercel/vercel#8794 (comment)
Steps to Reproduce
I've outlined this problem in the comment linked above. I wanted to make a broader discussion in the Vercel community discussions as I feel like there's a conflict in how monorepo tooling ought to work and how the Vercel CLI wants things to work by defining everything in the root of a repository.
I've been following the progress with the Vercel CLI monorepo settings (
--repo
), but this seems to be just going further in the wrong direction (in my opinion).Would appreciate input from @leerob here.
Beta Was this translation helpful? Give feedback.
All reactions