This topic contains 4 replies, has 3 voices, and was last updated by  m.miertschink 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #83376

    In wijmo.ts we receive the error in line

    window[‘wijmo’].culture = _globalCulture;

    could not be set (read only).
    Commenting out this line – and it works.

    Browser: IE11, Edge, Chrome 55.0.2883.87 m (64-bit),
    Windows 10

    All build/bundled with Angular-Cli.

    Errormessage:
    Uncaught TypeError: Cannot set property culture of #<Object> which has only a getter

    • This topic was modified 1 month, 1 week ago by  m.miertschink.
    #83587

    m.miertschink
    Member

    Answer

    Fixed via using the minified Version of the npm packages Distribution.

    #83600

    Manish Gupta
    Moderator

    Hi,
    We are glad that you were able to figure out the solution. Thanks for sharing it .

    Thanks again 🙂
    Manish Kumar Gupta

    #84147

    dominique.lagesse
    Member

    Wijmo Subscriber

    What is the correct way to resolving this ? By commenting this out in the sources, doesn’t it result in other things breaking down the line ? Like maybe Localization per culture.

    It is still incorrect in the Source Folder.

    #84172

    Don’t comment it out – use the minified Version for building the project. The npm packages are available in *.ts versions and minified where only *.d.ts was supplied.
    But it must be fixed anyways – hopefully in the next version…

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.