Replies: 3 comments 2 replies
-
+1 to this |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @sebpowell. Did you have update on this ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Have you tried removing just the I have only:
I still don't have this working but I seem to be further along. I can deploy the app but it's blowing up with my run command of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to deploy an app that is part of a monorepo managed by Turborepo to Heroku (the frontends are on Vercel), and running into some problems – hoping someone might have an idea as to what I'm doing wrong (as I suspect the issue is down to how I've configured Turborepo, rather than Heroku).
My repo structure looks like this:
The buildpacks I am using are as follows (loaded in this order):
1.) https://github.com/heroku/heroku-buildpack-multi-procfile
2.) https://github.com/unfold/heroku-buildpack-pnpm
3.) https://github.com/heroku/heroku-buildpack-nodejs
I've also enabled the following environment variables:
The Procfile looks like this:
My root package.json looks like this:
The package.json for the server application looks like this:
And turbo.json, looks like this:
When I push to Heroku, everything seems to work as it should, all the way until the end – this is the full output:
One thing that is strange is it looks like it's building twice (?), and that it looks like it's failing due to missing dependencies in an installed package that isn't being used by this application (it is however being used by the other frontend applications). I tried removing all my other apps from the repo, and reran the process – this time, it errored on a different package, suggesting that the issue isn't with the specific package but with the actual build / deploy process:
If you have any ideas, they would be greatly appreciated – I have tried a bunch of different things, and none the wiser. Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions