Cannot find module 'cors' Errror?

Hey guys! I was trying to deploy my NodeJS application on Render.com but I am getting this error again and again. If you have any idea how can I solve this error, help me.

Hi there,

As you may have discovered since you first asked this, we need to run a build command to install your dependencies, typically npm install or yarn - this output shows that there was no build command specified so when the service started up the module is not found.

Regards,

John B

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