I have a question, because i am creating a HTML file with some file:// links to different assets.
I am using the base-tag in the head for linking to another directory, like this:
<base href="file:///Users/Betty/some_project/app/www/">
when I open the HTML file every asset is loaded correctly and also before, when defining this as base in the options of the html-pdf node module (with phantomjs) this worked just fine..
I am not sure why I get this error, and I hope maybe someone can give me an hint :)
Error: HtmlPdf.create() page navigate failed.
at /Users/Betty/redox/some_project/screens-generator/node_modules/html-pdf-chrome/lib/src/index.js:174:19
The create works without the file links, but then I would have no JS/CSS/images.
I have a question, because i am creating a HTML file with some
file://links to different assets.I am using the base-tag in the head for linking to another directory, like this:
when I open the HTML file every asset is loaded correctly and also before, when defining this as
basein the options of thehtml-pdfnode module (with phantomjs) this worked just fine..I am not sure why I get this error, and I hope maybe someone can give me an hint :)
The create works without the file links, but then I would have no JS/CSS/images.