Cannot find module './../sdk/win32/zoomsdk.node'

Description


Invoking zoom sdk in the project always prompts: “Error: Cannot find module ‘./…/sdk/win32/zoomsdk.node’”, the demo can run successfully
I see the same topic, but it does not answer my question…

Which version?

  • node v12.14.0
  • electron v5.0.2
  • electron-builder v22.1.0

Additional context
App threw an error during load
Error: Cannot find module ‘./…/sdk/win32/zoomsdk.node’
at webpackEmptyContext (webpack:///./lib_sync?:2:10)
at init (webpack:///./lib/zoom_sdk.js?:32:60)
at Object.getInstance (webpack:///./lib/zoom_sdk.js?:186:20)
at ZoomSDKManager.zoomInit (webpack:///./src/ZoomSDKManager.js?:194:34)
at new ZoomSDKManager (webpack:///./src/ZoomSDKManager.js?:20:25)
at eval (webpack:///./src/background.js?:50:21)
at Module…/src/background.js (C:\leaplearner\LeapOnlineClient0229\leapOnlineClient\dist_electron\index.js:8901:1)
at webpack_require (C:\leaplearner\LeapOnlineClient0229\leapOnlineClient\dist_electron\index.js:20:30)
at eval (webpack:///multi_./src/background.js?:1:18)
at Object.0 (C:\leaplearner\LeapOnlineClient0229\leapOnlineClient\dist_electron\index.js:8995:1)

Hi 1223229224,

Thanks for using Zoom SDK. Based on the error, it seems like the following path is not correct:

Error: Cannot find module ‘./…/sdk/win32/zoomsdk.node’

Hope this helps. Thanks!