Html-pdf Node Error

#1

Hello -

I'm getting the below error when trying to use the html-pdf node on a rasberry pi zero. When running the same flow on a windows machine I'm successful. I've looked around the internet and found a few folks having the same issues but haven't seen any solutions that have worked for me.

Any ideas here?

html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'

Flows:

[{"id":"a2ca1b99.8e3b58","type":"inject","z":"dab759db.e53268","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":580,"y":300,"wires":[["749a0511.1f7fbc"]]},{"id":"7c709ea2.06658","type":"HTML-PDF","z":"dab759db.e53268","name":"HTML-PDF","output":"buffer","x":1050,"y":300,"wires":[["e04af8f8.c83988"]]},{"id":"dae17c02.27b01","type":"template","z":"dab759db.e53268","name":"HTML","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"\n\n\n \n Basic Web Page\n \n \n \n \t\n <h3 style="text-align:center">Test Message Header\n\n

Test Message <span style="color: blue;">

\n \n\n","output":"str","x":890,"y":300,"wires":[["7c709ea2.06658"]]},{"id":"e04af8f8.c83988","type":"file","z":"dab759db.e53268","name":"","filename":"test.pdf","appendNewline":true,"createDir":true,"overwriteFile":"true","x":1220,"y":300,"wires":[]},{"id":"749a0511.1f7fbc","type":"function","z":"dab759db.e53268","name":"Variables","func":"msg.site = 9999;\nmsg.date = 8888;\nmsg.row_number = 7777;\nmsg.unit_number = 6666;\nmsg.gear_box_date_code = 5555;\nmsg.gear_box_hours_in_service = 4444;\nmsg.gear_box_years_in_service = 3333;\nmsg.rbc_years_in_service = 2222;\nmsg.torque_arm_angle = 1111;\nmsg.peak_torque = 1212;\nmsg.max_imbalance = 1313;\n\nreturn msg;","outputs":1,"noerr":0,"x":740,"y":300,"wires":[["dae17c02.27b01"]]}]

#2

Are you talking about the node node-red-contrib-pdf ? If so I would suggest opening an inside on the nodes github page as you cannot guarantee that the author will read this forum

#3

Have you installed the pre-reqs for linux... ?

#4

have you figure out a solution ?