Skip to content

Does this work in Next js? #51

@3SCadmin

Description

@3SCadmin

I can get this working in node, but when I try to convert it to a Next js 14 server action, I get this error:

⨯ node_modules\pdf-img-convert\node_modules\pdfjs-dist\legacy\build\pdf.js (5903:35) @ eval
⨯ Error: Setting up fake worker failed: "Cannot find module './pdf.worker.js'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions