Getting error while production on Heroku

Hi, I am facing an error while deploying my app to Heroku.

Framework: Express on NodeJs

The error is-> Error: Cannot find module ‘./mongodb_aws’

This is the error log:

Hi @Gamers_Subscribe_Ple, welcome to the forums!

Could you provide the version of MongoDB Node.js driver that you are using ?
Do you have a similar named file on the project by chance? i.e. mongodb_aws

Have you tried resetting the project ? i.e. move node_modules directory to a temporary location, then perform npm install again.

If the solution above still does not work for you, please provide a minimal project that could reproduce the issue that you are seeing.