Cannot find module './common' when hosting on vercel

Hi @Sam_N_A1,

Welcome to the MongoDB Community!

Apologies for the late response.

Would you kindly verify whether all the necessary dependencies are correctly added to the package.json file? Also, please delete the ‘node_modules’ folder and then execute the npm i command. This will initiate the download of all the dependencies specified in the package.json file.

I suspect there may be a version compatibility issue. Please ensure that you are using the latest version of Mongoose. Additionally, I would advise reaching out to Vercel community or support for any environment-specific issues that might be causing this error in the deployment.

Regards,
Kushagra