After nest build or nest build --webpack dist folder does not contain all required modules and I got Error: Cannot find module '@nestjs/core' when trying to run node main.js.
I could not find any clear instructions on https://docs.nestjs.com/ on how to correctly build app for production, so maybe I missed something?
nest buildon the target server (afternpm install). - Kim Kernnest new my_projectif you'll move resultingdistto other location on the same machine for example. - Dimanoidnode_modulesis not bundled, no. This should be possible with webpack though. I assume you want to remove the source code and only keep the dist folder, right? Why? - Kim Kernnest start? - Dimanoid