electron-vue
electron-vue copied to clipboard
Uncaught Error module counld not be found
throw this error after i run the "npm run build"
the error message:
Uncaught Error: Cannot open D:\vipthink-teacher-pc\node_modules\agora-electron-sdk\build\Release\agora_node_ext.node: Error: The specified module could not be found.
D:\vipthink-teacher-pc\node_modules\agora-electron-sdk\build\Release\agora_node_ext.node
at Object.
Make sure to have all the required node modules installed.
In your case make sure that you have run the following command atleast once
npm install agora-electron-sdk
i make sure i install this dependency correctly, and i use the native-ext-loader replace the node-loader to analysis my .node file. so the new error show
C:\Users\win 10\AppData\Local\Programs\vipthink\resources\app.asar\dist\electron\agora_node_ext.node: Error: The specified module could not be found.
i try to decompile the app.asar and i make sure that the "agora_node_ext.node" is inside
webpack cant load .dll, u should native-ext-loader to excet .node, and set extraFiles to fold /agora-electron-sdk/build/Release