This may not be appropriate for this channel, but I wanted to share here in case someone else has seen this and fixed it.
It seems that the Astro boilerplate template for Vercel can't be bulit once any reference to mongodb is added.
I've posted about this here:
https://github.com/orgs/vercel/discussions/3541
The loose steps to repro are:
- init a project with the astro starter
- install and reference any part of the mongo lib (I've only tested w/ MongoClient)
- try to build in vercel - fails
Like I said, this seems like more of a vercel issue than an Astro issue, but wanted to share to see if anyone has encountered this before.