-
Notifications
You must be signed in to change notification settings - Fork 695
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
Unable to use in electron projects #1383
Comments
Have posed a general question to Stack Overflow, although I'd love any assistance from maintainers in getting this boulder moved! |
check out my boilerplate project i created. It uses Electron, Webpack, React and NodeGit. https://github.com/newblord/electron-react-webpack-nodegit-boilerplate dont use nodeloader. Instead use webpack externals, assuming your using webpack. |
Follow this article. All you will need is for your |
Hi @cjhoward92
Hi, can you ellaborate that? I use Electron and try to use nodegit. I installed |
@atrauzzi |
I have an electron project which I am building using webpack. I have configured the
node-loader
plugin so that any requests for.node
files are handled correctly. I also am usingelectron-rebuild
to ensure the native module is built against the version of nodejs being used in my electron project.Unfortunately, it still seems to error out with the following:
The most suspicious thing here is the
Debug
as when I check the path it's trying to load, all I get is this:It's a somewhat educated guess, but the fact that I'm only getting
Release
seems suspicious. I'm just not sure of how to make nodegit requestRelease
instead ofDebug
or alternatively how to make the build produce aDebug
version.It might be that the instructions to get going with electron and/or webpack need to be updated, but I'm hoping you guys can offer some help in the meantime.
😄
The text was updated successfully, but these errors were encountered: