Zoom-sdk-electron problem


#1

i do everything like git course told%E5%B4%A9%E6%BA%83%E9%97%AE%E9%A2%98


#2

Well, if you check the change log, you will find this

CHANGELOG

2018-10-29

  • Upgrade Node.js to v8.12.0 and Electron to v2.0.7

The Node.js is updated according to security issus. Please update your node.js.

Regards,
Wilmer


#3

not work
reinstall node.js v8.12,still error


#4

Would you post the error information here?
BTW, Zoom windsdk electron only supports ia32(32bits) now. Please use 32bits electron version to run it.

Regards,
Wilmer


#5

Error: The specified module could not be found.
\?\E:\zoom-winsdk-electron-master\zoom-sdk-electron\lib\node_modules\zoomsdk\build\Release\zoomsdk.node
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
at Object.Module._extensions…node (internal/modules/cjs/loader.js:722:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31)
at Module.load (internal/modules/cjs/loader.js:602:32)
at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
at Function.Module._load (internal/modules/cjs/loader.js:533:3)
at Module.require (internal/modules/cjs/loader.js:640:17)
at require (internal/modules/cjs/helpers.js:20:18)
at init (E:\zoom-winsdk-electron-master\zoom-sdk-electron\lib\zoom_sdk.js:76:17)
at Object.getInstance (E:\zoom-winsdk-electron-master\zoom-sdk-electron\lib\zoom_sdk.js:205:20)

use node.js v8.12.0 and electron 32bits,but still error.


#6

Yes, there is a bug.

Please modify the zoom_sdk.js file manually.
line 74: var _path = clientOpts.path || ‘./build/Release/’
Changed the path to a correct one:
var _path = clientOpts.path || ‘./node_modules/zoomsdk/build/Release/’.

I am sorry for that!

Regards,
Wilmer


#7

i found that,thanks!


#8

Sorry. The path in the demo ‘main.js’ should also be modified.

Just modify the line 8 and set it to be a folder where the node is.

Regards,
Wilmer


#9

hello again,can i use electron-vue to write this?


#10

To be honest, I have no idea about electron-vue.

Zoom electron sdk is built with node 8.12.0, electron2.0.7 and python2.7. If the tools that you use are compatible with them, I think you can use them to write your code.

Regards,
Wilmer


#11

i have webpack problem,but i’m not sure.
i’m sure i use right path,and i install node-loader,but still Error

Error: Cannot find module ‘…/…/ZoomSDK/zoomsdk’
at webpackEmptyContext (webpack:///./static/lib_sync?:2:10)
at init (webpack:///./static/lib/zoom_sdk.js?:65:71)
at Object.getInstance (webpack:///./static/lib/zoom_sdk.js?:154:28)
at eval (webpack:///./src/main/index.js?:18:34)
at Module…/src/main/index.js (C:\Users\Administrator\Desktop\SanYanWa\dist\electron\main.js:506:1)
at webpack_require (C:\Users\Administrator\Desktop\SanYanWa\dist\electron\main.js:21:30)
at eval (webpack:///./src/main/index.dev.js?:11:1)
at Object…/src/main/index.dev.js (C:\Users\Administrator\Desktop\SanYanWa\dist\electron\main.js:494:1)
at webpack_require (C:\Users\Administrator\Desktop\SanYanWa\dist\electron\main.js:21:30)
at eval (webpack:///multi_./src/main/index.dev.js_./src/main/index.js?:1:1)


#12

Would you please verify whether the demo can work well first?

If the demo can work, the error you met is caused by the wrong usage of the sdk. Please refer to the demo to write your code.
If the demo can’t work. that means your environment doesn’t fit to using the sdk.

Regards,
Wilmer


#13

yes,demo work well.thanks for your patience.
i made some simple style changes and it still worked.and then i’m tring use vue.js.
i found a framework named ‘electron-vue’ and it throw errors.
i guess it’s webpack configuration problem,but i’m not sure.
can i use vue.js and zoomsdk at sametime?


#14

I am really sorry because I do have no idea about vue. I can not give you any advisement.

Regards,
Wilmer