Skip to content

Missing or incorrect appPath for freshly created projects #5465

Closed
@rigor789

Description

@rigor789

this.$projectConfigService.writeDefaultConfig(projectDir, appId);

After creating a new project based on a template, we write the default config. In some cases, the appPath is different for a template, in those cases we need to update/write the correct appPath to the config.

For example a project created with ns create myNGApp --ng will have a src/main.ts file, and the appPath should be set to src for it to work, but currently it's not set to anything, and defaults to app - causing App entry not found crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions