ActiverportsJS Compilation error KanjiDate

Posted by: sabih on 29 October 2024, 2:11 am EST

    • Post Options:
    • Link

    Posted 29 October 2024, 2:11 am EST

    Im getting the following error after doing npm install

    ERROR in ./node_modules/@grapecity/activereports/lib/node_modules/@grapecity/ar-js-pagereport.js 905:46-64

    export ‘default’ (imported as ‘kanjidate’) was not found in ‘kanjidate’ (possible exports: f1, f10, f11, f12, f13, f14, f2, f3, f4, f5, f6, f7, f8, f9, fSqlDate, fSqlDateTime, format, fromGengou, toGengou, toYoubi)

    ERROR in ./node_modules/@grapecity/activereports/lib/node_modules/@grapecity/ar-js-pagereport.js 908:77-95

    export ‘default’ (imported as ‘kanjidate’) was not found in ‘kanjidate’ (possible exports: f1, f10, f11, f12, f13, f14, f2, f3, f4, f5, f6, f7, f8, f9, fSqlDate, fSqlDateTime, format, fromGengou, toGengou, toYoubi)

    this is my package.json dependencies

    @grapecity/activereports”: “^2.2.0”,

    @grapecity/activereports-react”: “^2.2.0”

    note : i had added “kanjidate”: “^1.1.3”, in the dependencies as well , but still same issue

    same version of activereports works fine in my another application

  • Posted 29 October 2024, 3:17 am EST

    Hi Sabih,

    This was a reported issue due to the breaking changes in the kanjidate module, and it was fixed with v3.2.1. Though v3.2.1 is also an older version. We would suggest that you upgrade to the latest version (v5.1) for the fix as well as other latest bug fixes and feature enhancements.

Need extra support?

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

Learn More

Forum Channels