Error: Cannot find module 'src/test2/test2.module'
Require stack:
- C:\Users\exfled\Desktop\test-nest\test-nest-project\dist\test\test.module.js
- C:\Users\exfled\Desktop\test-nest\test-nest-project\dist\app.module.js
- C:\Users\exfled\Desktop\test-nest\test-nest-project\dist\main.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\exfled\Desktop\test-nest\test-nest-project\dist\test\test.module.js:14:22)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
It is newly generated project with everything latest and it has only this 2 TestModule and Test2Module. Test2Module is imported in TestModule. Also both are imported in App Module.