#Problem with Remix in a pnpm workspace monorepo on Vercel
1 messages · Page 1 of 1 (latest)
@strange river, have you ran into this issue? I know you have a Remix + Turborepo + Vercel starter.
Your filter looks off. It should be whatever “name” you have in your apps/app-remix package.json file. Not the route to your app
I just changed to --filter=app-remix, which is the name of my app, and the same error occurred. I think it works both ways with the path to the package or the name of the package.
I’ll be home later and I’ll see exactly what my build command is 👍
Do you have a sample repository? Also would help if you sent a screenshot of your Vercel project settings.
this appears to still work https://github.com/mcansh/pnpm-turborepo-vercel-remix
build command: cd ../.. && npx turbo run build --scope=remix-app --include-dependencies --no-deps
root directory with include files outside root checked: apps/remix-app
Does your deployment still work when you change your build command to:
cd ../.. && npx turbo run build --filter=remix-app
This is my repo: https://github.com/penspinner/stevenliao.
Oh, wow. It is. I commented that out and the deploy finished.
Man, wth... Lul.
Thank you!
Dang, just ran into this today as well. Posted about it on the repo here: https://github.com/kiliman/remix-flat-routes/issues/42
Has anyone successfully deployed this on Vercel? A minimum example: take this https://github.com/remix-run/examples/tree/main/turborepo-vercel and modify it to use remix-flat-routes in remix.config...
I just replied to the issue.
@glad flame you're a legend. thanks!!
We're gonna fix this regression on the Vercel side as well. PR here: https://github.com/vercel/vercel/pull/9518
Could you let me know when it's in production so I could test?