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!
Attempting to run
npm install raylib
on a mac yields an errorthe full debug file complains about the CMake file not existing. Am I doing something wrong or is this a legitimate error? Thanks!