-
Notifications
You must be signed in to change notification settings - Fork 420
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
Unable to run the projet at first start #249
Comments
the same for me |
我同样遇到了这个问题,在windows上,程序工作良好,但是当我将程序部署到ubuntu或者打包成docker镜像时,会遇到 为了了解这个问题,我使用vscode对Ubuntu进行远程开发调试,通过捕获错误定位到了问题:
我意识到,这个一个很简单的问题:Windows对大小写是不敏感的,所以在Windows上开发时,一切正常;而Linux系统对大小写是敏感的,这样的导入无法正常工作。 解决办法将所有关于 import { HttpException } from '@/exceptions/httpException'; 的导入更改成 import { HttpException } from '@/exceptions/HttpException'; 即可。 经过测试,程序能够正常运行。 |
Yes there's a typo while importing the module, it should've been HttpException not httpException Also logs by default are getting stored inside src folder which is not right. Update below in logger.ts // logs dir and in .env.development.local |
Describe the Bug (버그 설명)
I have tried to clone and use this project according to readme.md instructions but I consistently get a “[nodemon] app crashed - waiting for file changes before starting...” error on startup whether via npm or via docker-compose.
Version to Reproduce (현재 사용한 버전)
Latest github master version ( v10.2.1 ?)
Node v21.7.1
Steps to Reproduce (재현 순서)
npm install -g typescript-express-starter
npx typescript-express-starter "my-new-project"
cd my-new-project
and then :
npm run dev
or :
docker-compose up
Expected Behavior (예상 동작)
The project startup and serve
Actual Behavior (실제 동작)
Console :
/src/logs/error/2024-10-27.log
The text was updated successfully, but these errors were encountered: