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?
This is the error I'm getting
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)