qrohlf / trianglify

Algorithmically generated triangle art
http://qrohlf.com/trianglify/
GNU General Public License v3.0
10.08k stars 669 forks source link

bump deps for node 4.2 support #48

Closed qrohlf closed 8 years ago

qrohlf commented 8 years ago

(fingers crossed)

resolves #45 if it works

qrohlf commented 8 years ago

Travis appears to be having issues with Cairo

qrohlf commented 8 years ago

breakfast-club-jud-fist-pump

jme783 commented 8 years ago

@qrohlf any update on Travis? I'm seeing tons of unnecessary output when I don't want cairo to be installed at all. I'm seeing output like this:

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.2.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-40-generic
gyp ERR! command "/home/travis/.nvm/versions/node/v4.2.2/bin/node" "/home/travis/.nvm/versions/node/v4.2.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/travis/build/spark/device-setup/node_modules/livereactload/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v4.2.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 

The build continues, but is there any way to avoid attempted installation?

qrohlf commented 8 years ago

@jme783

https://docs.npmjs.com/cli/install

The npm install --no-optional argument will prevent optional dependencies from being installed.

jme783 commented 8 years ago

@qrohlf thanks!