make sure you have
node-waf installed (contained in
npm install node-raphael
var raphael = ;var svg = raphael;
jsdom just implements a DOM 1.0, which only covers SVG 1.0, but raphael uses SVG 1.1, so features like text may not work.
SVG Server with Raphaël Logo: