【发布时间】:2016-04-06 20:26:26
【问题描述】:
bufferutil@1.2.1 install /home/sudthenerd/polymer-starter-kit-1.2.1/node_modules/bufferutil > node-gyp 重建 gyp 错误!配置错误gyp ERR!堆栈错误:找不到 Python 可执行文件“/path/to/executable/python2.7”,您可以设置 PYTHON 环境变量。吉普错误!堆栈在 failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:401:14) gyp ERR!堆栈在 /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:330:11 gyp 错误!堆栈在 F (/usr/lib/node_modules/npm/node_modules/which/which.js:78:16) gyp ERR!堆栈在 E (/usr/lib/node_modules/npm/node_modules/which/which.js:82:29) gyp ERR!堆栈在 /usr/lib/node_modules/npm/node_modules/which/which.js:93:16 gyp ERR!堆栈在 FSReqWrap.oncomplete (fs.js:82:15) gyp ERR!系统 Linux 3.13.0-74-generic gyp ERR!命令“/usr/bin/nodejs”“/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js”“重建”gyp ERR! cwd /home/sudthenerd/polymer-starter-kit-1.2.1/node_modules/bufferutil gyp ERR!节点 -v v5.3.0 gyp 错误!节点-gyp -v v3.2.1 gyp 错误!不行 npm WARN install:bufferutil@1.2.1 bufferutil@1.2.1 install:
node-gyp rebuildnpm WARN install:bufferutil@1.2.1 Exit status 1 > utf-8-validate@1.2.1 install /home/sudthenerd/polymer -starter-kit-1.2.1/node_modules/utf-8-validate > node-gyp 重建 gyp ERR!配置错误gyp ERR!堆栈错误:找不到 Python 可执行文件“/path/to/executable/python2.7”,您可以设置 PYTHON 环境变量。吉普错误!堆栈在 failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:401:14) gyp ERR!堆栈在 /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:330:11 gyp 错误!堆栈在 F (/usr/lib/node_modules/npm/node_modules/which/which.js:78:16) gyp ERR!堆栈在 E (/usr/lib/node_modules/npm/node_modules/which/which.js:82:29) gyp ERR!堆栈在 /usr/lib/node_modules/npm/node_modules/which/which.js:93:16 gyp ERR!堆栈在 FSReqWrap.oncomplete (fs.js:82:15) gyp ERR!系统 Linux 3.13.0-74-generic gyp ERR!命令“/usr/bin/nodejs”“/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js”“重建”gyp ERR! cwd /home/sudthenerd/polymer-starter-kit-1.2.1/node_modules/utf-8-validate gyp ERR!节点 -v v5.3.0 gyp 错误!节点-gyp -v v3.2.1 gyp 错误!不行 npm WARN install:utf-8-validate@1.2.1 utf-8-validate@1.2.1 install:node-gyp rebuildnpm WARN install:utf-8-validate@1.2.1 退出状态1
【问题讨论】:
标签: node.js polymer-1.0 node-gyp npm-install