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上运行require ffcreator报错 #348

Open
wth1107 opened this issue Apr 21, 2023 · 10 comments
Open

在electron上运行require ffcreator报错 #348

wth1107 opened this issue Apr 21, 2023 · 10 comments

Comments

@wth1107
Copy link

wth1107 commented Apr 21, 2023

electron 24.1.2 node 18.14.0 ffcreator ^7.0.3 运行在win10系统
App threw an error during load
Error: The module '\?\D:\project\electron\ef3\node_modules.store\gl@6.0.2\node_modules\gl\build\Release\webgl.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 108. This version of Node.js requires
NODE_MODULE_VERSION 114. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
at Module.load (node:internal/modules/cjs/loader:1096:32)
at Module._load (node:internal/modules/cjs/loader:937:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1120:19)
at require (node:internal/modules/cjs/helpers:103:18)
at bindings (D:\project\electron\ef3\node_modules.store\bindings@1.5.0\node_modules\bindings\bindings.js:112:48)
at Object. (D:\project\electron\ef3\node_modules.store\gl@6.0.2\node_modules\gl\src\javascript\native-gl.js:1:40)

尝试了官方的.\node_modules.bin\electron-rebuild.cmd 但仍未解决问题 ,哪位大佬给点建议!!

@drawcall
Copy link
Member

Will provide a full electron demo if I have time

@wth1107
Copy link
Author

wth1107 commented Apr 23, 2023

@drawcall 期待

@vutienhc
Copy link

I got the same error. Please help me. Thank you.

@vutienhc
Copy link

@wth1107 Have you found a solution yet?

@wth1107
Copy link
Author

wth1107 commented May 15, 2023

没有啊,我在等待作者的demo

@wth1107
Copy link
Author

wth1107 commented May 27, 2023

@vutienhc @linqian02 好大哥们 有招了吗

@wangmode
Copy link

wangmode commented Jun 9, 2023

@drawcall electron demo 这个有空搞下吧🙇‍

@zjqiudan
Copy link

求demo,等了快1年了....

@wth1107
Copy link
Author

wth1107 commented Sep 11, 2023

半年了。。。o(╥﹏╥)o

@ahnuchen
Copy link

@drawcall 大哥,有招了吗

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

No branches or pull requests

6 participants