-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I cannot get pdf-to-img working, I get the following error
The file does not exist at "/node_modules/.vite/deps/build/pdf.worker.mjs?worker_file&type=module" which is in the optimize deps directory. The dependency might be incompatible with the dep optimizer. Try adding it to optimizeDeps.exclude
.
In another project I solved it by importing
import * as pdfjsLib from "pdfjs-dist/webpack";
Would that be an option?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested