question

Freb-0184 avatar image
1 Vote"
Freb-0184 asked Grmacjon-MSFT answered

"@azure/communication-calling" npm package | new CallClient() geting error when we take the build in react.

In my ACS project when i take the build, code line -> this.callClient = new CallClient(options);
getting an error which mentioned bellow.

" ReferenceError: this hasn't been initialised - super() hasn't been called at e.exports (assertThisInitialized.js:3) "

but it works fine in my local.

azure-communication-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered

Hi @Freb-0184,

Thanks for bringing this to our attention. Are you following this tutorial? This line

 super() hasn't been called at e.exports (assertThisInitialized.js:3)

doesn't look like it's part of the ACS library. Please share your issue on this Github repo so that the ASC team can investigate this issue further https://github.com/Azure/Communication/issues




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.