Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'src/app.module' #12322

Closed
4 of 15 tasks
itbaduc opened this issue Aug 31, 2023 · 1 comment
Closed
4 of 15 tasks

Error: Cannot find module 'src/app.module' #12322

itbaduc opened this issue Aug 31, 2023 · 1 comment
Labels
needs triage This issue has not been looked into

Comments

@itbaduc
Copy link

itbaduc commented Aug 31, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

in NestJs v10.2.2 when start with SWC it show error "Cannot find module 'src/app.module'" but when run without SWC it run normal

Minimum reproduction code

/

Steps to reproduce

No response

Expected behavior

Start Nest Application

Package

  • I don't know. Or some 3rd-party package
  • @nestjs/common
  • @nestjs/core
  • @nestjs/microservices
  • @nestjs/platform-express
  • @nestjs/platform-fastify
  • @nestjs/platform-socket.io
  • @nestjs/platform-ws
  • @nestjs/testing
  • @nestjs/websockets
  • Other (see below)

Other package

No response

NestJS version

10.2

Packages versions

"dependencies": {
    "@nestjs/common": "^10.2.2",
    "@nestjs/core": "^10.2.2",
    "@nestjs/platform-express": "^10.2.2",
    "reflect-metadata": "^0.1.13",
    "rxjs": "^7.2.0"
  },

Node.js version

18.16

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

@itbaduc itbaduc added the needs triage This issue has not been looked into label Aug 31, 2023
@kamilmysliwiec
Copy link
Member

nestjs/nest-cli#2271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has not been looked into
Projects
None yet
Development

No branches or pull requests

2 participants