Describe the Bug (버그 설명)
When attempting to start the server using npm run dev, the application crashes immediately after initiating. The nodemon tool indicates that it is waiting for file changes before restarting, suggesting that there might be an issue in the startup script or the server configuration that prevents it from successfully launching.
Version to Reproduce (현재 사용한 버전)
node v20.12.2 Node.js version, nodemon version 2.0.22.
Steps to Reproduce (재현 순서)
Open terminal.
Navigate to the project directory.
Run the command npm run dev.
Observe that the application crashes immediately.
Expected Behavior (예상 동작)
The server should start successfully in development mode without crashing, allowing for development activities like live reloading on file changes.
Actual Behavior (실제 동작)
The server fails to start and crashes immediately. The error logs provided by nodemon do not specify the underlying cause of the crash, only indicating that it is "waiting for file changes before starting..."
Describe the Bug (버그 설명) When attempting to start the server using npm run dev, the application crashes immediately after initiating. The nodemon tool indicates that it is waiting for file changes before restarting, suggesting that there might be an issue in the startup script or the server configuration that prevents it from successfully launching.
Version to Reproduce (현재 사용한 버전) node v20.12.2 Node.js version, nodemon version 2.0.22.
Steps to Reproduce (재현 순서) Open terminal. Navigate to the project directory. Run the command npm run dev. Observe that the application crashes immediately. Expected Behavior (예상 동작) The server should start successfully in development mode without crashing, allowing for development activities like live reloading on file changes.
Actual Behavior (실제 동작) The server fails to start and crashes immediately. The error logs provided by nodemon do not specify the underlying cause of the crash, only indicating that it is "waiting for file changes before starting..."
Additional Context (추가 사항)
Capture screen (캡쳐 화면)