class validator throwing error in nestjs build time in nest version 6 code example Example: Cannot find module 'class-validator' or its corresponding type declarations. npm i class-validator