Pdf-parse v1.1 Error in Node Default Data Loader

I’m getting the message: NodeOperationError: Failed to load pdf-parse. This loader currently supports pdf-parse v1 only. Please install v1, e.g. npm install pdf-parse@^1 (v2 is not yet supported) in the Node Data Loader. Apparently a symlink from v. 1.1.1 to the latest version of pdf-parse@2.x.x was installed. I reset the symlink back to 1.1.1, and then the error message was gone. After an update to the very latest version, the error appeared again. So I overrode the symlink. Is an update of the Data Loader planned? Thanks for ideas, best regards, Thomas

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hello @musicanera

What is the “pdf-parse”? I do not see such a node in n8n. Can you share a screenshot?


This section means you have to fill the information, not just copy the template…

Hello, this is about the Default Data Loader node, n8n version 2.21.5, running on a Synology in Docker, Supabase database, managed on an Apple system.

@musicanera If you would like to use api to parse PDF you can use PDF API Hub Approved Node.

It has Free Tier as well.

hi @musicanera, good morning!
I would avoid relying on manual symlinks in production. As a more stable workaround, use a custom Docker image installing/pinning pdf-parse@^1, or extract the text from the PDF before the Data Loader using another step/node and send text/JSON to the embeddings flow.

There is an open issue for it:
Error while working with pdf · Issue #30841 · n8n-io/n8n

Thank you!!

I am also facing the same issue on n8n version 2.21.7.

The Document Loader fails with:

Failed to load pdf-parse. This loader currently supports pdf-parse v1 only.

I tested with a normal text PDF (~2.4 MB) and confirmed the Google Drive download node is returning valid binary data.