Open imnkywf opened 9 months ago
I encountered an almost the same error because of a package i was trying to install and essentially, it was looking for a specific module in Python. So i installed Python before running the build command. This was the error:
ModuleNotFoundError: No module named 'distutils'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/runner/path/to/app/node_modules/node-gyp/lib/configure.js:325:16)
gyp ERR! stack at ChildProcess.emit (node:events:517:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
gyp ERR! System Darwin 21.6.0
Based from your logs it seems that it could not find pkg-config
. You may need to install it first before executing build or whatever command. Let me know if it helps!
Currently I am using electron version 20.2.0 and electron-builder 23.6.0 with my nextron proj, evrytime i tried to install packages or build, it throw some errors. Although eventually i can run and build, but I want to know what are the best compatible versions for these two?
Here are the errors that I get: