Closed nick-xero closed 2 years ago
You'll have to include the actual errors that should be above these lines in the log output, otherwise there is no way to know what is causing the build to fail.
If it is a python issue, that's not a mmmagic
issue, but a node-gyp issue. A brief google search reveals that node-gyp 5.0.5 or 6.0.0 or newer have full Python 3 support. So either upgrade node (which will upgrade the bundled npm) or upgrade npm directly, which will pick up a more recent node-gyp if your bundled/installed version is too old.
It seems like installing this package needs python2 and MacOS Monterey 12.3 removed python2. So I was running into python not found when runnning
npm install mmmagic