In a PhantomJS script I would like to load a custom module but it seems relative paths do not works in PhantomJS ?
script.js:
var foo = require(\'./scrip
Which PhantomJS version are you running? Support for user provided modules was added in 1.7.