Closed misterbrownlee closed 9 years ago
We have a similar issue. Here's the error:
> fidonet-mailer-binkp-crypt@0.0.29 install /usr/local/lib/node_modules/intern/node_modules/digdug/node_modules/decompress/node_modules/adm-zip/node_modules/fidonet-mailer-binkp-crypt
> node-gyp configure build
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:103:14)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:42:11
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:25)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack at Object.oncomplete (evalmachine.<anonymous>:107:15)
gyp ERR! System Linux 3.13.0-44-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/lib/node_modules/intern/node_modules/digdug/node_modules/decompress/node_modules/adm-zip/node_modules/fidonet-mailer-binkp-crypt
gyp ERR! node -v v0.10.30
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
npm ERR! fidonet-mailer-binkp-crypt@0.0.29 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fidonet-mailer-binkp-crypt@0.0.29 install script.
npm ERR! This is most likely a problem with the fidonet-mailer-binkp-crypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls fidonet-mailer-binkp-crypt
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-44-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "intern@2.2.2"
npm ERR! cwd /opt/node_app
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/node_app/npm-debug.log
npm ERR! not ok code 0
We have a similar issue. Everything installs fine on our machines (running OS X Yosemite). But in our CI npm install fails with the following log
18:05:02 > fidonet-mailer-binkp-crypt@0.0.32 install /var/lib/jenkins/workspace/PROJECT/youniverse-application-war/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress-unzip/node_modules/adm-zip/node_modules/fidonet-mailer-binkp-crypt
18:05:02 > node-gyp configure build
18:05:02
18:05:03 make: Entering directory `/var/lib/jenkins/workspace/PROJECT/youniverse-application-war/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress-unzip/node_modules/adm-zip/node_modules/fidonet-mailer-binkp-crypt/build'
18:05:03 CXX(target) Release/obj.target/crypt/crypt.o
18:05:03 make: g++: Command not found
18:05:03 make: *** [Release/obj.target/crypt/crypt.o] Error 127
18:05:03 make: Leaving directory `/var/lib/jenkins/workspace/PROJECT/youniverse-application-war/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress-unzip/node_modules/adm-zip/node_modules/fidonet-mailer-binkp-crypt/build'
18:05:03 gyp ERR! build error
18:05:03 gyp ERR! stack Error: `make` failed with exit code: 2
18:05:03 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
18:05:03 gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
18:05:03 gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
18:05:03 gyp ERR! System Linux 3.2.0-60-generic
18:05:03 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
18:05:03 gyp ERR! cwd /var/lib/jenkins/workspace/PROJECT/youniverse-application-war/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress-unzip/node_modules/adm-zip/node_modules/fidonet-mailer-binkp-crypt
18:05:03 gyp ERR! node -v v0.10.24
18:05:03 gyp ERR! node-gyp -v v0.12.1
They're running Linux
make: g++: Command not found
- install g++
Error: Can't find Python executable "python", you can set the PYTHON env variable.
- install python
You are pushing a system dependency change under a semver dot version. I don't see that as a backward compatible bugfix
I would have appreciated a better solution than just closing this ticket with an install g++
. The problem comes from poor configuration from the project. Not everybody can depend on changes done in the libraries that does't care enough about stability.
I think I was mistaken and it wasn't the fact that the dependency changed, but an upstream project started requiring this which caused that upstream project to need system tools to compile this. So not exactly the same thing.
Hi -
This project is a dependency of
karma-sauce-launcher
, and a recent change you published is now causing failures on Linux systems (like our CI server).Here's the error:
The dependency trace looks like this:
We're going to try and work around with npm-shrinkwrap, but thought I would share this here since it's likely causing people besides us a bit of a headache.