Closed agustik closed 8 years ago
Solved
npm install phantomjs2
Add phantomPath: require('phantomjs2').path to options
var options = { phantomPath: require('phantomjs2').path }
Solution posted by @agustik is not working for me, produces same output.
I'm trying to render html from variable to PNG image. The HTML is created with some dynamic and I use Bootstrap css.
If I use the siteType: 'html' or 'file' it does not resolve the dependancy. But if i create a http server and serve the file over HTTP it works.