Skip to content

How to generate Angular.json file #13831

@AkashSurana

Description

@AkashSurana

My current application was in Angular 4 without Angular CLI. So I never had Angualr.json file or Angular-cli.json file. Now we want to generate that Angular CLI or angular.json file. Because this file is not available it is not taking any of the ng commands like ng serve or ng g c testing

How can I generate the file without using ng new command because ng new will create a new project which I don't want. I want to support my existing project.

Few notes on my project :

  1. We are launching multiple application from one folder
  2. We are launching each application from the ASPX page without using index.html.

Please see the screen shot attached of the error and the folder structure of my project
error
folder_structure_1
folder_structure_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions