mmmagic

npm installing mmmagic fails

荒凉一梦 提交于 2019-12-11 06:55:20
问题 I am attempting to install mmmagic however I get the following error: npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "mmmagic" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! mmmagic@0.4.1 install: `node-gyp rebuild` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the mmmagic@0.4.1 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed.