OpenVidu / openvidu-tutorials

OpenVidu tutorials to get started
http://openvidu.io/tutorials
Apache License 2.0
228 stars 255 forks source link

Attempted to assign to readonly propety fail #141

Closed UgurBas closed 3 years ago

UgurBas commented 3 years ago

resim_2020-11-24_114024

When i run the tutorial i get the error:typeerror attempted to assign to readonly property. I have openvidu react-native licence. Could you please guide me how can i run the tutorial correctly

Version: openvidu-react-native-adapter-2.16.0.tgz

CSantosM commented 3 years ago

Hi, thanks for your report.

We have discovered that we have a bug because of the Typescript updated (> 4.0). The problem is related with this Typescript issue. When typescript transpile the TS code to JS, it assumes the exports as readonly and the openvidu-react-native-adapter can't do his job.

We're working on fix this issue as soon as possible.

CSantosM commented 3 years ago

Fixed on react-native-adapter 2.16.1