Error with license

Posted by: daniel.boone on 26 June 2018, 11:12 am EST

  • Posted 26 June 2018, 11:12 am EST

    I updated our project to Angular 6.0.1 and rxjs 6.2.1 and

    my wijmo version is: “wijmo”: “^5.20181.462”,

    i ran a tree shaking and prod mode

    and now i am getting this error when i try to run the website

    Uncaught TypeError: Cannot read property ‘Licensing’ of undefined

    at app.js?v=1.0.1:1

    which takes me to this code in the java script

    t.culture.Licensing=window.wijmo.culture.Licensing||{evl:"Wijmo Evaluation

    I’m not sure why when i compiled for prod that the licensing broke.

    Please let me know if you need any more information

  • Posted 26 June 2018, 11:14 am EST

    oh i forgot, here is the license area in the app.component

    import { setLicenseKey } from ‘wijmo/wijmo’;

    setLicenseKey(‘www.blahblahblah’);

  • Posted 27 June 2018, 9:17 am EST

    Hi Daniel,

    Could you please share if the licensing is working fine for the development environment?

    Also, please try to use the setLicenseKey method in app.module.ts file.

    ~Manish

Need extra support?

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

Learn More

Forum Channels