tencent cloud

All product documents
Tencent Real-Time Communication
Electron
Last updated: 2024-05-30 13:22:58
Electron
Last updated: 2024-05-30 13:22:58

Runtime error: "does not provide an export named 'createBlock' "?

If you encounter the following error after following the steps above, please make sure to lock the version of vite to below 3.0.0, and the version of vue to below 3.4.9.



The reason is that the electron project template provided supports vite versions specified below 3.0.0, but properties in vue version 3.4.9 and above require an upgrade of the vite version for support. An issue has been submitted to the official vue,https://github.com/vuejs/core/issues/10177.

Is trtc-electron-sdk compatible with the official Electron v12.0.1 version?

Yes, trtc-electron-sdk does not depend on the electron's own SDK specifically, so there are no related version dependencies.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon