You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: Cannot find module '../build/Debug/nodegit.node' after installation #78
Hey I was curious about your Reacto project and gave it a try.
I cloned your repo and followed your installation steps, after yarn install everything was looking fine but once I run yarn run electron:dev I get the Error: Cannot find module '../build/Debug/nodegit.node' error. This happens as well for me if I run the project separately as you recommand.
I'm running a macOS High Sierra v10.13.3 and the node version of this error is v8.9.4. Probably is some unhandled dependency but...
Activity
eveningkid commentedon Apr 26, 2018
Hi Luis and thanks for sharing!
This issue seems to come from your environment.
You can try to rebuild the package using the following:
Also,
node-gitdocumentation recommends installing Xcode command line tools if not already.eveningkid commentedon May 1, 2018
@lgarest could you tell me if that worked for you?
lgarest commentedon May 2, 2018
Yep, works like a charm, I didn't have installed Xcode command line tools. It should be put in the readme / installation notes right?
eveningkid commentedon May 2, 2018
Yes, sure. Could you tell me what worked out for you? :)
I will update the readme file accordingly unless you want to contribute.
Let me know!
lgarest commentedon May 2, 2018
I deleted the
node_modulesfolder, installed Xcode command line tools andyarn install. The classical 'Have you tried to switch it off and on again?'eveningkid commentedon May 3, 2018
Alright, I referenced this issue in the readme file. Thank you Luis :)