node-prince icon indicating copy to clipboard operation
node-prince copied to clipboard

pricexml stoped working

Open shaharMeshulam opened this issue 2 years ago • 1 comments

I am using pricexml and until today it was working fine. it stopped working

` error: Error: Command failed: C:\Projects\pbd\html2pdf31.11.22\node_modules\prince\prince\program files\Prince\Engine\bin\prince.exe --prefix C:\Projects\pbd\html2pdf31.11.22\node_modules\prince\prince\program files\Prince\Engine 1679928942030.html --output 1679930020949.pdf

  at ChildProcess.exithandler (child_process.js:390:12)
  at ChildProcess.emit (events.js:400:28)
  at maybeClose (internal/child_process.js:1055:16)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
killed: true,
code: null,
signal: 'SIGTERM',
cmd: 'C:\\Projects\\pbd\\html2pdf31.11.22\\node_modules\\prince\\prince\\program files\\Prince\\Engine\\bin\\prince.exe --prefix C:\\Projects\\pbd\\html2pdf31.11.22\\node_modules\\prince\\prince\\program files\\Prince\\Engine 1679928942030.html --output 1679930020949.pdf'

}, stdout: <Buffer >, stderr: <Buffer > }`

shaharMeshulam avatar Mar 27 '23 15:03 shaharMeshulam

The SIGTERM indicates that your OS terminates the prince executable for whatever reasons. Perhaps some resources are exhausted or perhaps an update of your system now causes the shared library dependencies of the prince executable to fail? I don't think this problem is related to node-prince itself.

rse avatar Mar 27 '23 16:03 rse