Closed ashleyrudland closed 2 weeks ago
+1, same issue. App hosting asks for the app directory on setup, but setting one causes builds to fail.
Hi folks, we've released a fix that allows deployments from subdirectories and the change is rolling out to our prod environments soon. Thanks for your patience!
Like most NextJS apps today, they are typically not in the root directory.
My bug could be fixed with a simple UI input or cli param called "working directory" / "--dir"
This would run the normal npm run build, but where ever this folder is specified.
I'm a 5 year customer of Firebase, we do around $22K/mo, I run all my apps on it accept for front end hosting, that's all on Vercel.
I'll migrate the entire thing to Firebase today if this bug is fixed - faster round trip time from NextJS to Firestore DB calls = better product experience.
Thanks in advance! Ash.