Commit adac7bd
committed
fix: Correct NestJS start script path
🔧 Fix NestJS Start Path
## Issue Identified:
- NestJS build creates files in dist/src/ directory
- Start script was looking for dist/main.js (wrong path)
- Debug output showed main.js NOT FOUND in dist/
## Solution:
- Updated start script: 'node dist/main.js' → 'node dist/src/main.js'
- NestJS build output goes to dist/src/ not dist/
## Key Change:
- package.json: Fixed start script path to match actual build output
- NestJS compiles TypeScript to dist/src/ directory structure
This fixes the production deployment where the container
couldn't find the main.js file because it was in the wrong location.1 parent d134814 commit adac7bd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments