Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron 程序打包后,无法正确注册动态库 #4

Closed
loverto opened this issue Apr 23, 2020 · 3 comments · May be fixed by #5
Closed

electron 程序打包后,无法正确注册动态库 #4

loverto opened this issue Apr 23, 2020 · 3 comments · May be fixed by #5

Comments

@loverto
Copy link

loverto commented Apr 23, 2020

electron 程序打包后,无法正确注册动态库

@eezouhong
Copy link

image

求大佬帮忙, 我electron引入winax 编译就报错, 装了electron-rebuild重新编译
.\node_modules.bin\electron-rebuild.cmd
但还是不行
一样的错误
ERROR in ./node_modules/winax/activex.js
[0] Module not found: Error: Can't resolve './build/Release/node_activex' in 'I:\yys-electron\node_modules\winax'

electron version:9.0.4
node version:14.13.0 32bit

@loverto
Copy link
Author

loverto commented Oct 7, 2020

用32位的nodejs

@eezouhong
Copy link

谢谢回答, 是32位的node,问题解决了, 我刚接触electron 不太熟悉, 要再main外层里引入dm, 不能再render层里引入

@aweiu aweiu closed this as completed Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants