Is Yarn pnp module resolution supported by Wijmo?

Posted by: jinder.sidhu on 24 October 2023, 12:58 am EST

    • Post Options:
    • Link

    Posted 24 October 2023, 12:58 am EST

    Is this something that is supported by Wijmo somehow? If I use this mode on yarn 3/4 I get module import errors.

    If it’s not supported, is this on your roadmap?

  • Posted 24 October 2023, 1:39 am EST - Updated 24 October 2023, 4:13 am EST

    I’ve actually resolved this - under the newer version of yarn you cannot import “@grapecity/wijmo.angular2.all”. Instead you need to import each library independently and specify it in package.json.

  • Posted 24 October 2023, 9:37 pm EST

    Hi Jinder,

    We are able to replicate the issue on our end and have forwarded this issue to the dev team for further investigation with internal tracking ID - WJM-31581. We will let you know if this will be supported in Wijmo in the near future.

    Regards

  • Posted 29 November 2023, 10:53 pm EST - Updated 29 November 2023, 10:59 pm EST

    Hi Jinder,

    We are not able to replicate this issue anymore with yarn version 4.0.2. Could you please confirm if you are still facing this issue, with the 4.0.2 version of yarn? We are attaching a sample for your reference, in which we tried to replicate the issue. Here are the steps we followed to install the packages in the attached sample -

    1. Run - ng config cli.packageManager yarn
    2. Run - yarn set version stable
    3. Run - yarn install

    Regards



    angularAPP.zip

Need extra support?

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

Learn More

Forum Channels