I prepared all the things to make the invoice run today, but when it came to printing the invoices, I ran into a problem I don’t understand.
I didn’t realized there is a problem with my phantomjs local installation, because the tests have been done by invoice ninja via phantomjs cloud, so I didn’t notice there were problems.
No I generated 100 invoices and the pdfs are broken because of the demo key limitation, which is the reason why I now noticed that there is a problem.
Well, the problem is that the local phantomjs doesn’t seem to do its job. The builtin test page on https://my.invoiceninja.local/test_headless just states “Failed to load PDF document.”
Testing with the test.pjs on the commandline says:
root@ninja:~# phantomjs /var/www/html/invoiceninja/resources/test.pjs
}TypeError: Attempting to change the setter of an unconfigurable property.
TypeError: Attempting to change the setter of an unconfigurable property.
I don’t have a clue what phantomjs wants to tell me.
But I need to get the invoices out today, so HELP PLEASE
Edit: Invoice Ninja v4.5.19, phantomjs v2.1.1, on debian 10