Giter Site home page Giter Site logo

Comments (8)

agracio avatar agracio commented on August 16, 2024

What is the full error you getting? To me it appears that module.exports might be causing a problem.
On a separate note all C# methods that Edge.js interacts with should have public async Task<object> Invoke(dynamic input) signature.

from electron-edge-js-quick-start.

DionDavid avatar DionDavid commented on August 16, 2024

Oh I'm still quite new to .Net so I thought loading in all libraries was possible. Thank you for explaining. I will write it myself then.

from electron-edge-js-quick-start.

DionDavid avatar DionDavid commented on August 16, 2024

I am running your electron-edge-js-quick-start and I get two different errors.

On Mac I get the error: CoreClrEmbedding::Initialize - Failed to initialize CoreCLR, HRESULT: 0x80070057.

On Windows I get the error: Error: %1 is not a valid Win32 application

I built the project with VS2017.

Do you know what I can do to fix this?

from electron-edge-js-quick-start.

agracio avatar agracio commented on August 16, 2024

Lets start with Windows.
I realised that instructions in README are in the wrong order, you need to npm install first before building the project.
Try pulling a fresh copy of the repo and follow the instructions.

from electron-edge-js-quick-start.

DionDavid avatar DionDavid commented on August 16, 2024

Alright, I did what you said but it results into the same error.

from electron-edge-js-quick-start.

agracio avatar agracio commented on August 16, 2024

What version of Windows and architecture you have 32 or 64 bit?

from electron-edge-js-quick-start.

DionDavid avatar DionDavid commented on August 16, 2024

I have windows 10 64bit

from electron-edge-js-quick-start.

agracio avatar agracio commented on August 16, 2024

This error usually indicates version compatibility problem, like trying to use 32 bit dll in 64 bit project or vice versa. Not sure what is going on with it in your case.

from electron-edge-js-quick-start.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.