vivliostyle / vivliostyle-cli

⚒ Supercharge command-line publication workflow.
https://docs.vivliostyle.org/#/vivliostyle-cli
GNU Affero General Public License v3.0
156 stars 22 forks source link

HTML to PDF #454

Open HidejiKakinami opened 8 months ago

HidejiKakinami commented 8 months ago

Error: Command failed with exit code 1: ./node_modules/.bin/vivliostyle build /tmp/401b87289f76800d789a08177f0e216b.html --output /tmp/670efc9a2eb79088ba0bba6afc6cc195.pdf --no-sandbox --executable-chromium /usr/bin/chromium --size A4 --render-mode local --preflight press-ready-local

If you think this is a bug, please report at https://github.com/vivliostyle/vivliostyle-cli/issues at makeError (/zeroone/n8n/node_modules/execa/lib/error.js:60:11) at handlePromise (/zeroone/n8n/node_modules/execa/index.js:118:26) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Function.task (/zeroone/n8n/node_modules/tempy/index.js:23:10) at async tempy_1.default.file.task.extension (/zeroone/n8n/node_modules/@founder-z/n8n-nodes-vivliostyle/dist/nodes/Vivliostyle/Vivliostyle.node.js:111:58) at async Function.task (/zeroone/n8n/node_modules/tempy/index.js:23:10) at async Object.execute (/zeroone/n8n/node_modules/@founder-z/n8n-nodes-vivliostyle/dist/nodes/Vivliostyle/Vivliostyle.node.js:110:17) at async /zeroone/n8n/node_modules/@founder-z/n8n-core/dist/src/WorkflowExecute.js:451:47

spring-raining commented 8 months ago

@HidejiKakinami From your ID I'm guessing you are a Japanese user. May I communicate in Japanese? 日本語でやり取りしても良いでしょうか?

問題の原因を詳しく調べるため、以下の情報を教えてもらえますか?

node -v
./node_modules/.bin/vivliostyle -v
node -e 'console.log(require("os").tmpdir())'
node -e 'const d=require("./node_modules/tmp").dirSync();console.log(d.name);d.removeCallback()'
# 1. vivliostyle-cliを実行
./node_modules/.bin/vivliostyle build /tmp/401b87289f76800d789a08177f0e216b.html --output /tmp/670efc9a2eb79088ba0bba6afc6cc195.pdf --no-sandbox --executable-chromium /usr/bin/chromium --size A4 --render-mode local
# 2. press-readyを実行
./node_modules/.bin/press-ready buidl -i /tmp/670efc9a2eb79088ba0bba6afc6cc195.pdf /tmp/output.pdf