Getting epeg Node.js bindings working on Ubuntu 14.04

Install pre-requisites:

sudo apt-get install git g++  
sudo apt-get install libjpeg-dev libexif-dev  

EPEG works only with Node v0.10.x (until someone upgrades the interfaces to V8).

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash

export NVM_DIR="$HOME/.nvm"  
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

nvm install 0.10  

Install Node.js v0.10.x and run

npm i epeg  
comments powered by Disqus