substack/node-heatmap — Issue #3: Can't install for Node v0.6.5
Author: tomstrummer
Created: 2011-12-09 00:08:42+00:00
State: open

Versions of canvas required by heatmap don't support my version of Node...

```
$ npm install heatmap
npm ERR! error installing heatmap@0.0.3 Error: No compatible version found: canvas@'>=0.7.0- <0.8.0-'
npm ERR! error installing heatmap@0.0.3 Valid install targets:
npm ERR! error installing heatmap@0.0.3 ["0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.1.0","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.8.1"]
npm ERR! error installing heatmap@0.0.3 at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:424:10)
npm ERR! error installing heatmap@0.0.3 at /usr/local/lib/node_modules/npm/lib/cache.js:406:17
npm ERR! error installing heatmap@0.0.3 at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:136:7)
npm ERR! error installing heatmap@0.0.3 at Object.cb [as oncomplete] (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
npm ERR! Error: No compatible version found: canvas@'>=0.7.0- <0.8.0-'
npm ERR! Valid install targets:
npm ERR! ["0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.1.0","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.8.1"]
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:424:10)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:406:17
npm ERR! at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:136:7)
npm ERR! at Object.cb [as oncomplete] (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "heatmap"
npm ERR! cwd /Users/tnichols/dev/enoc-10
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/tnichols/dev/enoc-10/npm-debug.log
npm not ok
```

And when I try to install canvas:

```
$ npm install canvas@0.7.3
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: canvas@0.7.3
npm ERR! Required: {"node":">= 0.4.0 && < 0.6.0"}
npm ERR! Actual: {"npm":"1.0.106","node":"0.6.5"}
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "canvas@0.7.3"
npm ERR! cwd /Users/tnichols/dev/enoc-10
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.0.106
npm ERR! code ENOTSUP
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/tnichols/dev/enoc-10/npm-debug.log
npm not ok
```