RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
237 stars 20 forks source link

build fails on mac (CMake executable is not found.) #92

Open GriffinSego opened 2 years ago

GriffinSego commented 2 years ago

Attempting to run npm install raylib on a mac yields an error

info TOOL Using Unix Makefiles generator.
info REP Build has been failed, trying to do a full rebuild.
ERR! OMG CMake executable is not found. Please use your system's package manager to install it, or you can get installers from there: http://cmake.org.
npm WARN test@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! raylib@0.8.1 postinstall: `cmake-js compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the raylib@0.8.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/{name}/.npm/_logs/2021-09-01T03_13_01_094Z-debug.log

the full debug file complains about the CMake file not existing. Am I doing something wrong or is this a legitimate error? Thanks!