Strange error printing #932
Replies: 7 comments 4 replies
-
Using the same node on another project, I do not encounter the error. |
Beta Was this translation helpful? Give feedback.
-
@cbutcosk Is this an error you have come across in your PDF work? |
Beta Was this translation helpful? Give feedback.
-
@Erin-Cecele Not specifically, but it looks similar to what I've seen happen when 11ty swallows errors from the PDF css compile, missing figure image assets (#845), and other kinds of build-time errors that aren't yet escalated to a real build error... @1000camels The quick fix: The long reasoning: Apologies for taking the liberty of cloning your repo and building it locally, but I can reproduce your issue when I do that. If you load Anyway the PDF manually compiles the SCSS files at |
Beta Was this translation helpful? Give feedback.
-
thank you @cbutcosk To begin with, I am still getting that error after installing bulma and creating the empty styles/custom.css. Interestingly, I do not use styles/custom.css because I have created my own styles/custom.scss so I can use SASS I also do not have the .11ty-vite/ directory I am also unable to build getting this error: [11ty] ENOTEMPTY: directory not empty, rename '/Users/darcy/Dev/DAM/tokio-ueyama/.11ty-vite' -> '_site' (via Error) I have tried deleting _site before re-running the build process The build does finish if i use quire build --debug |
Beta Was this translation helpful? Give feedback.
-
I deleted node_modules and rebuilt everything and I am still getting this error |
Beta Was this translation helpful? Give feedback.
-
@1000camels Your publication has other issues causing the builds to break + error but the PDF is successfully generated and has the correct content as far as I can tell in my exceedingly brief look into it. |
Beta Was this translation helpful? Give feedback.
-
I sorted out my issue, and I had many. All related to my scss version of custom. Because I had it loaded from index.js like application.scss, I had to include various includes in the scss. Thanks for the help |
Beta Was this translation helpful? Give feedback.
-
I am now getting this strange error:
[CLI:lib/pdf] generating PDF using Paged.js
[CLI:lib/pdf/pagedjs] printing /Users/darcy/Dev/DAM/tokio-ueyama/_site/pdf.html
ProgressEvent: ProgressEvent
at #evaluate (file:///Users/darcy/.nvm/versions/node/v18.17.1/lib/node_modules/@thegetty/quire-cli/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js:249:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (file:///Users/darcy/.nvm/versions/node/v18.17.1/lib/node_modules/@thegetty/quire-cli/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js:146:16)
at async Printer.render (file:///Users/darcy/.nvm/versions/node/v18.17.1/lib/node_modules/@thegetty/quire-cli/node_modules/pagedjs-cli/src/printer.js:202:4)
at async Printer.pdf (file:///Users/darcy/.nvm/versions/node/v18.17.1/lib/node_modules/@thegetty/quire-cli/node_modules/pagedjs-cli/src/printer.js:270:14)
at async default (file:///Users/darcy/.nvm/versions/node/v18.17.1/lib/node_modules/@thegetty/quire-cli/src/lib/pdf/paged.js:59:18)
at async file:///Users/darcy/.nvm/versions/node/v18.17.1/lib/node_modules/@thegetty/quire-cli/src/lib/pdf/index.js:40:12
at async Command.action (file:///Users/darcy/.nvm/versions/node/v18.17.1/lib/node_modules/@thegetty/quire-cli/src/commands/pdf.js:54:5)
I am not even sure what kind of error it is or how to approach resolving it.
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions