face-recognition.js icon indicating copy to clipboard operation
face-recognition.js copied to clipboard

npm install does not work

Open davejack1 opened this issue 6 years ago • 2 comments

Simply tried npm install face-recognition --save and npm install face-recognition. Also tried with sudo. I only get the following error;

executing: git --version
executing: cmake --version
{ Error: Command failed: cmake --version
/bin/sh: cmake: command not found

    at ChildProcess.exithandler (child_process.js:275:12)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) killed: false, code: 127, signal: null, cmd: 'cmake --version' }
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node ./install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.

Any ideas @justadudewhohacks ?

davejack1 avatar Feb 23 '19 00:02 davejack1

Hi @davejack1, I think you need to install cmake, I hope this link helpful for you.

MohannadBakkar avatar Feb 24 '19 02:02 MohannadBakkar

@MohannadBakkar i have install the cmake and link that,the same not to install

qiyaozu avatar Jul 11 '19 03:07 qiyaozu