Skip to content

🐞 signal μ„œλ²„ 경둜 였λ₯˜Β #474

@kimyu0218

Description

@kimyu0218

Description

npm run start:prod μ‹œ dist/main을 μ°Ύμ§€ λͺ»ν•˜λŠ” μ—λŸ¬κ°€ λ°œμƒν•¨

> [email protected] start:prod
> node dist/main

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

Error: Cannot find module '/app/signal/dist/main'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

How to reproduce it

μ‹€μ œλ‘œ λ‘œμ»¬μ—μ„œ λΉŒλ“œλ₯Ό ν•΄λ΄€λŠ”λ° src 디렉토리λ₯Ό λΉŒλ“œν•΄μ•Ό ν•˜λŠ”λ° κ·Έ μƒμœ„ 디렉토리λ₯Ό λΉŒλ“œν•˜κ³  μžˆμ—ˆμŒ

Todo

  • package.jsonκ³Ό tsconfig.json의 경둜 λΆ€λΆ„ μ›λž˜ μƒνƒœλ‘œ 되돌리기
  • λΉŒλ“œ μ‹œμ— src ν•˜μœ„μ˜ mocksλŠ” λΉŒλ“œν•˜μ§€ μ•Šλ„λ‘ μ„€μ •ν•˜κΈ°

ETC

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

βœ… Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions