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

Error: Cannot find module ....\dist_electron\native\win32\x64\12.16.3\edge_nativeclr #98

Closed
janosvajda opened this issue Oct 16, 2020 · 2 comments

Comments

@janosvajda
Copy link

janosvajda commented Oct 16, 2020

Hi,

I use Electron 10 and Node.js v12.16.3 under Windows 10. I wanted to just test this project. I could install it.

When I try to test it just locally it shows me this error message:

App threw an error during load
Error: Cannot find module 'C:\Users\testuser\projects\projectname\dist_electron\native\win32\x64\12.16.3\edge_nativeclr'

I use Vue CLI Plugin Electron Builder and I tried to add the project's vue.config.js file these lines:

pluginOptions: {
    electronBuilder: {
      externals: ["electron-edge-js"],

But, unfortunately, It did not help.

I followed all instructions on electron-edge-js GitHub page and just would have liked to run this test script:

var edge = require('electron-edge-js');
var helloWorld = edge.func(function () {/*
    async (input) => {
        return ".NET Welcomes " + input.ToString();
    }
*/});

This might not be an issue, it might be caused by a lack of documentation? I do not know.

Thank you if someone can fix/update the documentation or just have any idea.

Thanks.

@PrexCoder
Copy link

Same problem here, did anyone manage to solve this?

@agracio
Copy link
Owner

agracio commented Dec 29, 2020

Take a look at #74

@agracio agracio closed this as completed Dec 30, 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

No branches or pull requests

3 participants