天道酬勤,学无止境

mmmagic

npm 安装 mmmagic 失败(npm installing mmmagic fails)

问题 我正在尝试安装mmmagic但是出现以下错误: 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. npm ERR! If you do, this is most likely a problem with the mmmagic package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails

2021-10-08 06:46:11    分类:技术分享    node.js   npm   npm-install   mmmagic

npm installing mmmagic fails

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. npm ERR! If you do, this is most likely a problem with the mmmagic package, npm ERR! not with npm itself

2021-10-07 04:59:00    分类:问答    node.js   npm   npm-install   mmmagic