This topic contains 4 replies, has 3 voices, and was last updated by m.miertschink 2 months ago.
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),
All build/bundled with Angular-Cli.
Uncaught TypeError: Cannot set property culture of #<Object> which has only a getter
Fixed via using the minified Version of the npm packages Distribution.
We are glad that you were able to figure out the solution. Thanks for sharing it .
Thanks again 🙂
Manish Kumar Gupta
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.
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…
You must be logged in to reply to this topic.