-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
The file I used to generate pdf is:
import latex from "node-latex";
import * as fs from "fs";
const input = fs.createReadStream("template.tex");
const output = fs.createWriteStream("output.pdf");
const pdf = latex(input);
pdf.pipe(output);
pdf.on("error", err => console.error(err));
pdf.on("finish", () => console.log("PDF generated!"));When I run this file, I get the following error:
Error: No error log file.
at /home/*/node_modules/node-latex/index.js:38:36
at FSReqCallback.oncomplete (node:fs:199:21)
Please look into this issue @saadq.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels