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: Call to coreclr_create_delegate() for G failed with a return code of 0x80070002. #12

Closed
TheUnlocked opened this issue Mar 25, 2018 · 5 comments

Comments

@TheUnlocked
Copy link

If I set process.env.EDGE_USE_CORECLR = 1, then require('electron-edge-js') throws the error in the title. If I don't set the environment variable, I get all of the missing assembly messages.

@TheUnlocked
Copy link
Author

More research, this error occurs only when both EGDE_USE_CORECLR is 1 and EDGE_APP_ROOT is set.

@agracio
Copy link
Owner

agracio commented Mar 26, 2018

require itself usually does not throw any errors, the error normally appears once you try to use the module.
What version of Electron you using? You have also commented here agracio/edge-js-quick-start#3 so I am assuming it also happens when you run quick-start project?

@TheUnlocked
Copy link
Author

Yes. I'm using electron@latest, but I can get you the exact versions when I get access to my computer.

@TheUnlocked
Copy link
Author

TheUnlocked commented Mar 27, 2018

Electron: 1.8.4
Node: 8.2.1

@agracio
Copy link
Owner

agracio commented Mar 27, 2018

The error was caused by incorrect quick-start project reference, please see agracio/edge-js-quick-start#3. The issue is fixed on both edge-js and electron-edge-js quick-start repos

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

2 participants