Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

[BUG] Configuration property "log.dir" is not defined when running npm run start:dev #607

@Sourya07

Description

@Sourya07

Describe the bug.

Running the development server using:
npm run start:dev
fails with the following error:
WARNING: No configurations found in configuration directory: /.../server-api/dist/configs
Error: Configuration property "log.dir" is not defined

This error comes from the config npm module.
It indicates that the config folder (with default.json or other environment configs) is either:
• Missing in the project root
• Or not copied into dist/ after TypeScript build

Error
Error: Configuration property "log.dir" is not defined
at Config.get (node_modules/config/lib/config.js:182:11)
at Object. (dist/utils/logger.js:11:64)

Expected behavior

The server should start normally, and configuration files should be automatically included in the build.

Screenshots

Image

How to Reproduce

Run the command
npm run start:dev

🖥️ Device Information [optional]

  • Operating System (OS):
  • Browser:
  • Browser Version:

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions