'npm run start doesn't work (vs code nestjs)

I'm working on a project and everything goes fine but when I reopen the project I collided with a problem - the server didn't start.

I used the following command to start the server.

> [email protected] start
> nest start    

Below is the error I encountered.

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'src/modules/auth/strategies/types'
  code: 'MODULE_NOT_FOUND'


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source