HelioHost Posted October 6, 2018 Posted October 6, 2018 Username: admin89, Server: Ricky, Main domain: admin89.heliohost.org hi, im trying to create a pdf file using puppeteer when i open the file with .js extension it just displays the code i saw some wikis about node js is it possible to enable nodejs ?? if not will you pls suggest me alternative to use puppeteer of node js
Bailey Posted October 6, 2018 Posted October 6, 2018 You can only use NodeJS when you have access to the command line as you will need to run node . This means you’ll either need to use something that doesn’t require node. Or you may need to buy a VPS from our partners here: https://www.heliohost.org/partners/
HelioHost Posted October 6, 2018 Author Posted October 6, 2018 Username: admin89, Server: Ricky, Main domain: admin89.heliohost.org that means i cannot run this on this server will you pls suggest me a code or a program that converts html to pdf
admin89 Posted October 6, 2018 Posted October 6, 2018 that means i cannot run this on this serverwill you pls suggest me a code or a program that converts html to pdf
wolstech Posted October 6, 2018 Posted October 6, 2018 I don't know of any off the shelf way our server could support just feeding in an html file and get a pdf out, though there are tons of libraries for making PDFs that can accept html, so you can likely write something to do it in php. https://ourcodeworld.com/articles/read/226/top-5-best-open-source-pdf-generation-libraries-for-php
Recommended Posts