PhantomJS is very platform specific and automated NPM installation always brings about errors depending on the platform.