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.)
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.