Cannot find module 'dotenv'

I was deploying my node backend on render . I have a monorepo . ie frontend and backend . but while deploy I have getting error like ‘dotenv’ but I have added all the environment variable


Check that dotenv is in your package.json dependencies.

And that you’re installing them, e.g. your Build Command contains npm install


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.