I'm developing a Nestjs micro-service and need to run the build in dist folder using below command and it's working fine
node dist/main.js
Problem is, above command not working without the node_modules folder. Why can't we run the the build folder(dist) without node_modules folder?
