Replies: 2 comments 4 replies
-
|
Hi @2Tako2! This does sound unusual. Could you create a minimal reproducible example and deploy it to see if the problem persists? This can help isolate whether it’s an issue with Vercel, your code, or the interaction between the two. Other steps to investigate:
|
Beta Was this translation helpful? Give feedback.
-
|
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have a TurboRepo with NextJs web app using MongoDb for database and hosted on Vercel.
After deploying the NextJs web app, new collections were generated with weird naming, e.g. "accounts" got named "ys", "stations got named "ds".
Even though the local build and the deployed one are using the same database, it creates a new collection with a single letter naming (plus s, defaulted by MongoDb)
I have tried using a different MongDb database connection, different user role, and different database name. I have also tried setting "swcMinify" to false in Next config. As well as running it in both Prod and Review environment.
I am suspecting Vercel is the cause of this, but cannot find a solution.
My packages version
-@typegoose/typegoose: 11.3.0
Example
No response
Steps to Reproduce
I dont think it can be recreated, but...
Create NextJs in a Turbo Repo, connect MongoDb with NextJs Api serverless backend,
create a record that initiate a collection
check collection name
Beta Was this translation helpful? Give feedback.
All reactions