Query regarding Angular upgrade to 16 or 17

Posted by: nilesh_nichal on 6 December 2023, 12:27 am EST

  • Posted 6 December 2023, 12:27 am EST

    Hi Team,

    We are planning to upgrade Angular version 12 to 16 or 17. Currently we are using wijmo 5.20231.888 version, please let us know the if the current version of (wijmo 5.20231.888 version) support Angular 16 or 17 ?

  • Posted 6 December 2023, 8:47 pm EST

    Hi Nilesh,

    Wijmo supports Angular 16 from version 5.20231.900 and up. Also, currently Wijmo does not officially support Angular 17 and the testing for the same is currently under progress.

    So, please upgrade to version 5.20231.900 or later to use Wijmo with Angular 16.

    Please refer to this blog for more information: https://developer.mescius.com/blogs/wijmo-supports-angular-16

    In case, if you face any errors while upgrading, please feel free to ask.

    Regards

  • Posted 28 December 2023, 11:00 pm EST - Updated 28 December 2023, 11:05 pm EST

    Hi Anirudh,

    I am using below angular and node version :

    Angular CLI: 16.2.11

    Node: 18.17.1

    Package Manager: npm 9.6.7

    As mentioned above we have upgraded to version 5.20231.900, but still we are getting error as WjGridModule is not compatible to angular Ivy, please find the screenshot of errors from attachements.

    Thank you

  • Posted 1 January 2024, 5:35 pm EST

    Hi Nilesh,

    The version 5.20231.900 supports Angular 16. You may verify the same from the shared sample that uses below configuration:

    • Wijmo version: 5.20231.900
    • Angular Version: ^16.2.0
    • Node version: v18.18.0
    • Npm version: 9.8.1

    Please refer to this sample for reference: Sample Angular16_Wijmo 5.20231.900.zip

    However, there might be a possibility that this error is occurring because there are multiple versions of Wijmo used in your application. So, please ensure that you are using 5.20231.900 as the version for all the different Wijmo Angular modules installed in your application. Please review the package.json file for the same.

    Also, if the version of Wijmo is same(5.20231.900) then please try the following steps to resolve the error:

    1. Delete the package-lock.json file.
    2. Delete the node_modules folder.
    3. Ensure that the version for all the Wijmo modules is 5.20231.900.
    4. Run “npm install” to install the dependencies.

    If this does not solve the issue, then please share a small working sample or modify the shared sample such that it replicates the issue that you are facing.

    Thank you for your understanding.

    Regards

  • Posted 24 January 2024, 5:44 pm EST - Updated 24 January 2024, 6:03 pm EST

    Hi,

    I was trying to upgrade to Angular 17 and everything I define in ng-template no longer works. So I see that you wrote that Angular 17 is not yet supported. Is there an estimate when it will be supported and are there already any nightly builds with support?

    Thanks and best regards

  • Posted 28 January 2024, 9:34 pm EST

    Hi Stefan,

    I have replied to your query on this forum case: https://developer.mescius.com/forums/wijmo/angular-17-support#73515

    Here is a copy of the response for your reference:

    I am able to replicate the issue on my end and have informed about the same to the DEV team. Also, I have asked about the estimations for the Angular 17 support.

    I will provide you with the updates as soon as I get any updates from the concerned team.

    Please note the internal tracking id of the issue for further communication: WJM-33255

    Thank you.

    Regards

    Anirudh

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels