github/hubot — Issue #96: Failed to install
Author: phyreman
Created: 2011-10-28 17:35:09+00:00
State: open

There's a conflict with installing to Heroku due to Wolfram needing node 0.4.11 and Heroku forces 0.4.7, for reference here's the error I'm getting:

$ git push heroku master
Counting objects: 29, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (18/18), done.
Writing objects: 100% (18/18), 3.04 KiB, done.
Total 18 (delta 11), reused 0 (delta 0)

-----> Heroku receiving push
-----> Node.js app detected
-----> Fetching Node.js binaries
-----> Vendoring node 0.4.7
-----> Installing dependencies with npm 1.0.94

> node-expat@1.4.0 install /tmp/build_2nptzqalrmcu0/node_modules/hubot/node_modules/node-xmpp/node_modules/node-expat
> node-waf configure build

> node-expat@1.4.0 install /tmp/build_2nptzqalrmcu0/node_modules/hubot/node_modules/wobot/node_modules/node-xmpp/node_modules/node-expat
> node-waf configure build

Checking for program g++ or c++ : /usr/bin/g++
Checking for program g++ or c++ : /usr/bin/g++
npm ERR! error installing hubot-scripts@1.1.3 Error: Unsupported
npm ERR! error installing hubot-scripts@1.1.3 at checkEngine (/tmp/node-npm-P2sq/lib/install.js:493:14)
npm ERR! error installing hubot-scripts@1.1.3 at Array.0 (/tmp/node-npm-P2sq/node_modules/slide/lib/bind-actor.js:15:8)
npm ERR! error installing hubot-scripts@1.1.3 at LOOP (/tmp/node-npm-P2sq/node_modules/slide/lib/chain.js:15:13)
npm ERR! error installing hubot-scripts@1.1.3 at chain (/tmp/node-npm-P2sq/node_modules/slide/lib/chain.js:20:4)
npm ERR! error installing hubot-scripts@1.1.3 at installOne_ (/tmp/node-npm-P2sq/lib/install.js:471:3)
npm ERR! error installing hubot-scripts@1.1.3 at installOne (/tmp/node-npm-P2sq/lib/install.js:411:3)
npm ERR! error installing hubot-scripts@1.1.3 at /tmp/node-npm-P2sq/lib/install.js:347:9
npm ERR! error installing hubot-scripts@1.1.3 at /tmp/node-npm-P2sq/node_modules/slide/lib/async-map.js:54:35
npm ERR! error installing hubot-scripts@1.1.3 at Array.forEach (native)
npm ERR! error installing hubot-scripts@1.1.3 at /tmp/node-npm-P2sq/node_modules/slide/lib/async-map.js:54:11
npm ERR! error rolling back hubot-scripts@1.1.3 Error: ENOTEMPTY, Directory not empty '/tmp/build_2nptzqalrmcu0/node_modules/hubot-scripts'
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: wolfram@0.1.0
npm ERR! Required: {"node":"~v0.4.11"}
npm ERR! Actual: {"npm":"1.0.94","node":"0.4.7"}
npm ERR!
npm ERR! System Linux 2.6.32-316-ec2
npm ERR! command "/tmp/node-node-rd66/bin/node" "/tmp/node-npm-P2sq/cli.js" "install"
npm ERR! cwd /tmp/build_2nptzqalrmcu0
npm ERR! node -v v0.4.7
npm ERR! npm -v 1.0.94
npm ERR! code ENOTSUP
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : Checking for program cpp : /usr/bin/cpp
not found
Checking for node prefix : ok /tmp/node-node-rd66
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for header expat.h : Checking for g++ : ok

Checking for node path : not found
Checking for node prefix : ok /tmp/node-node-rd66
Checking for header expat.h : npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/build_2nptzqalrmcu0/npm-debug.log
npm not ok
yes
yes
'configure' finished successfully (0.611s)
'configure' finished successfully (0.608s)
Waf: Entering directory `/tmp/build_2nptzqalrmcu0/node_modules/hubot/node_modules/node-xmpp/node_modules/node-expat/build'
Waf: Entering directory `/tmp/build_2nptzqalrmcu0/node_modules/hubot/node_modules/wobot/node_modules/node-xmpp/node_modules/node-expat/build'
[1/2] cxx: node-expat.cc -> build/default/node-expat_1.o
[1/2] cxx: node-expat.cc -> build/default/node-expat_1.o
[2/2] cxx_link: build/default/node-expat_1.o -> build/default/node-expat.node
[2/2] cxx_link: build/default/node-expat_1.o -> build/default/node-expat.node
Waf: Leaving directory `/tmp/build_2nptzqalrmcu0/node_modules/hubot/node_modules/node-xmpp/node_modules/node-expat/build'
'build' finished successfully (0.329s)
Waf: Leaving directory `/tmp/build_2nptzqalrmcu0/node_modules/hubot/node_modules/wobot/node_modules/node-xmpp/node_modules/node-expat/build'
'build' finished successfully (0.338s)
! Failed to install dependencies with npm
! Heroku push rejected, failed to compile Node.js app

! [remote rejected] master -> master (pre-receive hook declined)