You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm encountering an error when logging in after integrating the SDK: "Error invoking initSDK: TypeError: Invalid value used as weak map key."
#58
Open
bobo999-craate opened this issue
Jul 15, 2024
· 1 comment
Load the Renderer Script
Make sure to import your renderer script (render.js) in the main process. This ensures that the renderer script is correctly initialized and ready to communicate with the main process.
API Calls
Call the API within appropriate lifecycle events or response to specific events. Ensure that the platformID parameter is a numeric value, which is necessary for the API to function correctly.
By following these guidelines, you can ensure a seamless integration of the SDK in your Electron application's main process.
skiffer-git
changed the title
你好,引入sdk 登录的时候报错Error invoking initSDK: TypeError: Invalid value used as weak map key
Hello, I'm encountering an error when logging in after integrating the SDK: "Error invoking initSDK: TypeError: Invalid value used as weak map key."
Aug 6, 2024
OpenIM Server Version
是直接运行的命令npm install open-im-sdk-wasm @openim/electron-client-sdk --save
Operating System and CPU Architecture
Windows (AMD)
Deployment Method
Source Code Deployment
Bug Description and Steps to Reproduce
Error invoking initSDK: TypeError: Invalid value used as weak map key
Screenshots Link
你好,这个是git地址https://gitee.com/z-qiaoer/openim-apply.git,运行的话用命令npm run electron:dev;感谢大哥们帮忙解决一下
The text was updated successfully, but these errors were encountered: