-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
I use electron v3.0.10 and node.js v10.2.0 and electron-edge-js have a problem about edge_nativeclr #39
Comments
I have the same issue under Node 10.11 and Electron 4.0.5. I just installed electron-edge-js and tried to do a "Hello World" test (about the same as OP) and got exactly the same error EDIT : same error with electron 4.0.4 and 4.0.3 |
Similar issue running Electron 4.1.1, Node 10.15.3, and Angular 7
I'm using angular as well, and I think in my case it might have something to do with that. My package.json file for reference: https://gist.github.com/tbeswick96/798a5d07bfede1197b65d097ed0b4e95 |
You need to prevent electron-edje-js from beein packed into the .asar file, you cannot load native node modules from it. @tbeswick96 config for example he uses |
@Hammster Added |
Take a look at this example for packaging Electron with |
That's useful, thanks, but that doesn't help the main issue which is running this with angular. |
It depends what |
I have managed to get it working. Managed to find a working example out there that had all three components (electron, angular, and edge) and copied how it laid things out. I think the error message I was getting was misleading, as I think it was actually my own dll location that was failing. Not certain @ApologizeAndStruggle @QBIRGAENTZLE I'd recommend trying to find an existing application out there with a similar setup to yours, and then copy the essential bits from that (like package.json) and see if that helps |
I have the same problem |
Hey, guys. ...
externals: {
'electron-edge-js': 'commonjs2 electron-edge-js',
},
node: {
__dirname: false,
__filename: false,
},
... To clear up my doubts, I ran the electro-quick-start project without a webpack and it worked, so I researched a configuration to discard the Does @akozhemiakin help you? |
@lesleyandreza |
Sorry @akozhemiakin. |
In our case this error happened on Windows 7 machine (without service pack 1) Apparently the minimum requirement is Windows 7 Service Pack 1. This error was gone when we used Windows 7 SP1 and installed Microsoft Visual C++ 2015 Redistributable (x86) and .NET 4.7 Framework |
你咱们qq沟通吧,我远程给你看看,我这儿跑了一下没啥问题
…----------------------------
Best Regards
David Zhang 张大伟
Tel :15620976885
***@***.***
***@***.***
***@***.***
QQ :990860210
------------------ 原始邮件 ------------------
发件人: "agracio/electron-edge-js" ***@***.***>;
发送时间: 2021年3月31日(星期三) 中午1:20
***@***.***>;
***@***.******@***.***>;
主题: Re: [agracio/electron-edge-js] I use electron v3.0.10 and node.js v10.2.0 and electron-edge-js have a problem about edge_nativeclr (#39)
I have the same quesition,when i use the electron 11,node 12.18.3,electron-edge-js 12.18.5
I read the document about 'electron-edge-js',it supported the version i use
maybe this quesition was caused by webpack compile,but i use 'vue-cli-plugin-eletron-builder' with the externals attribute, also wrong
who has some suggests form me? thanks a lot
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
this is my code
I hope to get your help
thanks
The text was updated successfully, but these errors were encountered: