Deploy with Vercel option fails
When deploying with the vercel button, after entering environment variables, the build fails with:
Error: EEXIST: file already exists, symlink 'spaces.func' -> '/vercel/output/functions/api/token.func'
me too
Hmm, I'm not able to reproduce that build failure, but I believe it's due to us putting a client side file into /api which Vercel tries to deploy as a serverless function.
I pushed a fix to main here: https://github.com/muxinc/meet/commit/74fe9d69ad81aa6921a10ccfbb865c1481d73c70
And it should deploy without failure now.
I came across some surprising behavior by Vercel when I deployed using that button which was that it did not detect the project as a Next.js app. This was easy to fix by setting the Framework Preset to Next.js in Settings -> General. I will look into why Vercel is not detecting this as a Next.js app.