facebook

Error: Malformed or unsupported angular-cli.json

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #645337 Reply

    ango
    Participant

    In Ng-Book, is Tutorial project, Angular-cli 6 based,
    This I’m trying to import.

    But in the Import window, is errormessage

    “Malformed or unsupported angular-cli.json”

    And the “Finnish” button does not get activated ??
    What does this message mean,

    #645936 Reply

    support-swapna
    Moderator

    ango,

    angular-cli.json is an old configuration file which is replaced by angular.json. It looks like the project you are trying to import has angular-cli.json. You check this thread to migrate the angular-cli.json to angular.json and then try importing the project.

    Alternatively, you can create a New Angular project with Angular CLI version of your choice and then copy the source and other related files into the structure accordingly. In the New Angular Project wizard, you can type the exact version of Angular CLI, example 6.0.1 in the field and proceed to create the project.

    Hope this helps.Please let us know if you need further support.

    –Swapna
    Genuitec Support

    #655683 Reply

    fredericduvert
    Participant

    Hello,
    I have the same issue,
    I try to import an angular project, directly created by JHipster, from scratch.
    This project does not contains any angular-cli.json, only angular.json.

    I don’t want to create a new project angular, as i cannot figure what could happens to my project after.

    Any advice, tricks workaround or fix for this issue?

    Thanks
    Best regards

    #655735 Reply

    support-swapna
    Moderator

    Frederic,

    Sorry that you are seeing this issue. I assume you are working with the latest CodeMix CI 2020.4.7. If no, then please update via Help > Check for Updates.

    If you can share the zipped project with us, we will take a look and let you know of a possible workaround.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

    #655783 Reply

    fredericduvert
    Participant

    Hello,
    thanks for your answer,
    i’m using codemix lastest version CodeMix CI 2020.4.7, angular ide 2020.4.7, eclipse 2020.03.

    here is an helloworld project

    Thanks for your support and fix
    best regards

    Attachments:
    You must be logged in to view attached files.
    #655819 Reply

    support-swapna
    Moderator

    Frederic,

    Thank you for the details and the project files.

    It looks like the angular.json file created using JHipster is not compatible with CodeMix. Our recommendation is to either create a new angular project using our wizards and copy the resources from your sample project into this project or copy only the angular.json file created using our wizards to your project. For both the cases you may need to make some adjustments to the angular.json as per your project needs.

    Hope this helps. Please let us know if you have any further questions.

    –Swapna
    Genuitec Support

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Error: Malformed or unsupported angular-cli.json

You must be logged in to post in the forum log in