Look into your project structure. For example, if you have created a new typescript file outside src i.e. root of your project directory, nestjs will create a src inside build which was not there initially.
src
build